MetafileFrameUnit

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

public final class MetafileFrameUnit extends System.Enum

Specifies the unit of measurement for the rectangle used to size and position a metafile. This is specified during the creation of the Metafile object.

Fields

FieldDescription
PixelThe unit of measurement is 1 pixel.
PointThe unit of measurement is 1 printer’s point.
InchThe unit of measurement is 1 inch.
DocumentThe unit of measurement is 1/300 of an inch.
MillimeterThe unit of measurement is 1 millimeter.
GdiCompatibleThe unit of measurement is 0.01 millimeter.

Pixel

public static final int Pixel

The unit of measurement is 1 pixel.

Point

public static final int Point

The unit of measurement is 1 printer’s point.

Inch

public static final int Inch

The unit of measurement is 1 inch.

Document

public static final int Document

The unit of measurement is 1/300 of an inch.

Millimeter

public static final int Millimeter

The unit of measurement is 1 millimeter.

GdiCompatible

public static final int GdiCompatible

The unit of measurement is 0.01 millimeter. Provided for compatibility with GDI.