Skip to main content

BrickGraphics.PageUnit Property

Defines graphic measurement units.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public DXGraphicsUnit PageUnit { get; set; }

Property Value

Type Description
DXGraphicsUnit

Indicates the drawing unit.

Available values:

Name Description
World

The world coordinate system unit.

Display

The measurement units of the display device. Typically pixels for video displays, and 1/100 inch for printers.

Pixel

The device pixel.

Point

The printer’s point (1/72 inch).

Inch

The inch.

Document

The document unit (1/300 inch).

Millimeter

The millimeter.

Remarks

This property allows you to customize measurement units for a report. The default value for this property is DXGraphicsUnit.Pixel. When a user supplies dimensions for bricks, dimension values are supplied in current drawing units. After brick or rectangle creation, these units are automatically converted to DXGraphicsUnit.Document units. So, to change the size of a brick or rectangle after its creation, new values must be entered in DXGraphicsUnit.Document units.

See Also