BarCode.Unit Property
In This Article
Gets or sets the unit of measurement for bar code settings.
Namespace: DevExpress.BarCodes
Assembly: DevExpress.Docs.v24.2.dll
NuGet Package: DevExpress.Document.Processor
#Declaration
public DXGraphicsUnit Unit { get; set; }
#Property Value
Type | Description |
---|---|
DXGraphics |
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 |
---|---|
Invalid |
Thrown if the property is set to DXGraphics |
See Also