BarCode.Unit Property
Gets or sets the unit of measurement for bar code settings.
Namespace: DevExpress.BarCodes
Assembly: DevExpress.Docs.v25.2.dll
NuGet Package: DevExpress.Document.Processor
Declaration
Property Value
| Type | Description |
|---|---|
| DXGraphicsUnit | An enumeration value that indicates the measurement units. |
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. |
Exceptions
| Type | Description |
|---|---|
| InvalidEnumArgumentException | Thrown if the property is set to DXGraphicsUnit.World. |
See Also