EmfMapMode

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

public final class EmfMapMode extends System.Enum

The MapMode enumeration is used to define the unit of measure for transforming page space units into device space units and for defining the orientation of the drawing axes.

Fields

FieldDescription
MM_TEXTEach logical unit is mapped to one device pixel.
MM_LOMETRICEach logical unit is mapped to 0.1 millimeter.
MM_HIMETRICEach logical unit is mapped to 0.01 millimeter.
MM_LOENGLISHEach logical unit is mapped to 0.01 inch.
MM_HIENGLISHEach logical unit is mapped to 0.001 inch.
MM_TWIPSEach logical unit is mapped to one-twentieth of a printer’s point (1/1440 inch, also called a “twip”).
MM_ISOTROPICLogical units are mapped to arbitrary units with equally scaled axes; that is, one unit along the x-axis is equal to one unit along the y-axis.
MM_ANISOTROPICLogical units are mapped to arbitrary units with arbitrarily scaled axes.

MM_TEXT

public static final int MM_TEXT

Each logical unit is mapped to one device pixel. Positive x is to the right; positive y is down.

MM_LOMETRIC

public static final int MM_LOMETRIC

Each logical unit is mapped to 0.1 millimeter. Positive x is to the right; positive y is up.

MM_HIMETRIC

public static final int MM_HIMETRIC

Each logical unit is mapped to 0.01 millimeter. Positive x is to the right; positive y is up.

MM_LOENGLISH

public static final int MM_LOENGLISH

Each logical unit is mapped to 0.01 inch. Positive x is to the right; positive y is up

MM_HIENGLISH

public static final int MM_HIENGLISH

Each logical unit is mapped to 0.001 inch. Positive x is to the right; positive y is up.

MM_TWIPS

public static final int MM_TWIPS

Each logical unit is mapped to one-twentieth of a printer’s point (1/1440 inch, also called a “twip”). Positive x is to the right; positive y is up.

MM_ISOTROPIC

public static final int MM_ISOTROPIC

Logical units are mapped to arbitrary units with equally scaled axes; that is, one unit along the x-axis is equal to one unit along the y-axis. The EMR_SETWINDOWEXTEX and EMR_SETVIEWPORTEXTEX records SHOULD be used to specify the units and the orientation of the axes. Adjustments MUST be made as necessary to ensure that the x and y units remain the same size. For example, when the window extent is set, the viewport MUST be adjusted to keep the units isotropic.

MM_ANISOTROPIC

public static final int MM_ANISOTROPIC

Logical units are mapped to arbitrary units with arbitrarily scaled axes. The EMR_SETWINDOWEXTEX and EMR_SETVIEWPORTEXTEX records SHOULD be used to specify the units, orientation, and scaling.