Skip to main content

LabelDetails.Unit Property

Specifies a unit of measure of a label.

Namespace: DevExpress.XtraReports.Wizards.Labels

Assembly: DevExpress.XtraReports.v23.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public DXGraphicsUnit Unit { get; set; }

Property Value

Type Description
DXGraphicsUnit

An enumeration value that indicates the measurement 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Unit 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