Skip to main content
A newer version of this page is available. .

BrickGraphics.PageUnit Property

Defines graphic measurement units.

Namespace: DevExpress.XtraPrinting

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

Declaration

public GraphicsUnit PageUnit { get; set; }

Property Value

Type Description
GraphicsUnit

The type of drawing units.

Remarks

This property allows you to customize measurement units for a report. The default value for this property is GraphicsUnit.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 GraphicsUnit.Document units. So, to change the size of a brick or rectangle after its creation, new values must be entered in GraphicsUnit.Document units.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PageUnit property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also