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

Public Attributes

const WORLD = 0
 
const DISPLAY = 1
 
const PIXEL = 2
 
const POINT = 3
 
const INCH = 4
 
const DOCUMENT = 5
 
const MILLIMETER = 6
 

Detailed Description

Specifies the unit of measure for the given data.

Member Data Documentation

◆ DISPLAY

const GraphicsUnit::DISPLAY = 1

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

◆ DOCUMENT

const GraphicsUnit::DOCUMENT = 5

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

◆ INCH

const GraphicsUnit::INCH = 4

Specifies the inch as the unit of measure.

◆ MILLIMETER

const GraphicsUnit::MILLIMETER = 6

Specifies the millimeter as the unit of measure.

◆ PIXEL

const GraphicsUnit::PIXEL = 2

Specifies a device pixel as the unit of measure.

◆ POINT

const GraphicsUnit::POINT = 3

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

◆ WORLD

const GraphicsUnit::WORLD = 0

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