EmfSetMapMode Class

Summary: 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.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfSetMapMode

Inheritance: EmfRecord

Constructors

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

Properties

NameTypeAccessDescription
map_modeEmfMapModer/wGets or sets the map mode.
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.

Methods

NameDescription
create_from_record(source)Initializes a new instance of the EmfRecord class.
create_from_type(type)Initializes a new instance of the EmfRecord class.

Constructor: EmfSetMapMode()

 EmfSetMapMode() 

Initializes a new instance of the EmfSetMapMode class.

Constructor: EmfSetMapMode(record)

 EmfSetMapMode(record) 

Initializes a new instance of the EmfSetMapMode class.

Parameters:

ParameterTypeDescription
recordEmfRecordThe record.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord