EmfSetMapMode

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord

public final class EmfSetMapMode extends EmfRecord

The EMR_SETMAPMODE record specifies the mapping mode of the playback device context. The mapping mode specifies the unit of measure used to transform page space units into device space units, and also specifies the orientation of the device’s x-axis and y-axis.

Constructors

ConstructorDescription
EmfSetMapMode()Initializes a new instance of the EmfSetMapMode class.
EmfSetMapMode(EmfRecord record)Initializes a new instance of the EmfSetMapMode class.

Methods

MethodDescription
getMapMode()Gets or sets the map mode.
setMapMode(int value)Gets or sets the map mode.

EmfSetMapMode()

public EmfSetMapMode()

Initializes a new instance of the EmfSetMapMode class.

EmfSetMapMode(EmfRecord record)

public EmfSetMapMode(EmfRecord record)

Initializes a new instance of the EmfSetMapMode class.

Parameters:

ParameterTypeDescription
recordEmfRecordThe record.

getMapMode()

public int getMapMode()

Gets or sets the map mode.

Value: The map mode.

Returns: int

setMapMode(int value)

public void setMapMode(int value)

Gets or sets the map mode.

Value: The map mode.

Parameters:

ParameterTypeDescription
valueint