GraphicsUnit

GraphicsUnit enum

Namespace: Aspose.Barcode.Generation

Specifies the unit of measure for the given data.

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.

DISPLAY

Value: 1

Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers.

DOCUMENT

Value: 5

Specifies the document unit = 1/300 inch) as the unit of measure.

INCH

Value: 4

Specifies the inch as the unit of measure.

MILLIMETER

Value: 6

Specifies the millimeter as the unit of measure.

PIXEL

Value: 2

Specifies a device pixel as the unit of measure.

POINT

Value: 3

Specifies a printer’s point = 1/72 inch) as the unit of measure.

WORLD

Value: 0

Specifies the world coordinate system unit as the unit of measure.