GraphicsUnit

GraphicsUnit enum

Module: aspose_barcode.generation.graphics_unit

Specifies the unit of measure for the given data. WORLD = 0 - Specifies the world coordinate system unit as the unit of measure. DISPLAY = 1 - Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers. PIXEL = 2 - Specifies a device pixel as the unit of measure. POINT = 3 - Specifies a printer’s point = 1/72 inch) as the unit of measure. INCH = 4 - Specifies the inch as the unit of measure. DOCUMENT = 5 - Specifies the document unit = 1/300 inch) as the unit of measure. MILLIMETER = 6 - Specifies the millimeter as the unit of measure.

Enum Values

NameValueDescription
DISPLAY1Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers.
DOCUMENT5Specifies the document unit = 1/300 inch) as the unit of measure.
INCH4Specifies the inch as the unit of measure.
MILLIMETER6Specifies the millimeter as the unit of measure.
PIXEL2Specifies a device pixel as the unit of measure.
POINT3Specifies a printer’s point = 1/72 inch) as the unit of measure.
WORLD0Specifies the world coordinate system unit as the unit of measure.