GraphicsUnit

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class GraphicsUnit extends System.Enum

Specifies the unit of measure for the given data.

Fields

FieldDescription
WorldSpecifies the world coordinate system unit as the unit of measure.
DisplaySpecifies the unit of measure of the display device.
PixelSpecifies a device pixel as the unit of measure.
PointSpecifies a printer’s point (1/72 inch) as the unit of measure.
InchSpecifies the inch as the unit of measure.
DocumentSpecifies the document unit (1/300 inch) as the unit of measure.
MillimeterSpecifies the millimeter as the unit of measure.

World

public static final int World

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

Display

public static final int Display

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

Pixel

public static final int Pixel

Specifies a device pixel as the unit of measure.

Point

public static final int Point

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

Inch

public static final int Inch

Specifies the inch as the unit of measure.

Document

public static final int Document

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

Millimeter

public static final int Millimeter

Specifies the millimeter as the unit of measure.