Back to Devexpress

BrickGraphics.PageUnit Property

corelibraries-devexpress-dot-xtraprinting-dot-brickgraphics-33c61060.md

latest1.9 KB
Original Source

BrickGraphics.PageUnit Property

Defines graphic measurement units.

Namespace : DevExpress.XtraPrinting

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public DXGraphicsUnit PageUnit { get; set; }
vb
Public Property PageUnit As DXGraphicsUnit

Property Value

TypeDescription
DXGraphicsUnit

Indicates the drawing unit.

|

Available values:

NameDescription
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

BrickGraphics Class

BrickGraphics Members

DevExpress.XtraPrinting Namespace