EmfSetMapMode Class
Contents
[
Hide
]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
| Name | Description |
|---|---|
| EmfSetMapMode() | Initializes a new instance of the EmfSetMapMode class. |
| EmfSetMapMode(record) | Initializes a new instance of the EmfSetMapMode class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| map_mode | EmfMapMode | r/w | Gets or sets the map mode. |
| size | int | r/w | Gets or sets the size of the record |
| type | EmfRecordType | r/w | Gets or sets the type. |
Methods
| Name | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| record | EmfRecord | The record. |
Method: create_from_record(source) [static]
create_from_record(source)
Initializes a new instance of the EmfRecord class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | EmfRecord | The source. |
Returns
| Type | Description |
|---|---|
| EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initializes a new instance of the EmfRecord class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| type | EmfRecordType | The record type. |
Returns
| Type | Description |
|---|---|
| EmfRecord |