Aspose.Barcode for Python via Java Generation and Recognition API docs
GraphicsUnit Class Reference

Specifies the unit of measure for the given data. More...

Inherits Enum.

Static Public Attributes

int WORLD = 0
 Specifies the world coordinate system unit as the unit of measure. More...
 
int DISPLAY = 1
 Specifies the unit of measure of the display device. More...
 
int PIXEL = 2
 Specifies a device pixel as the unit of measure. More...
 
int POINT = 3
 Specifies a printer's point = 1/72 inch) as the unit of measure. More...
 
int INCH = 4
 Specifies the inch as the unit of measure. More...
 
int DOCUMENT = 5
 Specifies the document unit = 1/300 inch) as the unit of measure. More...
 
int MILLIMETER = 6
 Specifies the millimeter as the unit of measure. More...
 

Detailed Description

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.

Member Data Documentation

◆ DISPLAY

int DISPLAY = 1
static

Specifies the unit of measure of the display device.

Typically pixels for video displays, and 1/100 inch for printers.

◆ DOCUMENT

int DOCUMENT = 5
static

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

◆ INCH

int INCH = 4
static

Specifies the inch as the unit of measure.

◆ MILLIMETER

int MILLIMETER = 6
static

Specifies the millimeter as the unit of measure.

◆ PIXEL

int PIXEL = 2
static

Specifies a device pixel as the unit of measure.

◆ POINT

int POINT = 3
static

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

◆ WORLD

int WORLD = 0
static

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