EmfSaveDc Class
Contents
[
Hide
]Summary: Saves the current state of playback device context on a
stack of states saved by preceding EMR_SAVEDC
records, if any. The state consists of graphics properties
and objects, including the currently selected bitmap,
brush, palette, font, pen, and region. An
EMR_RESTOREDC record is used to restore the state.
This EMF record specifies no parameters.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfSaveDc
Inheritance: EmfStateRecordType
Constructors
Name | Description |
---|---|
EmfSaveDc() | Initializes a new instance of the EmfSaveDc class. |
EmfSaveDc(source) | Initializes a new instance of the EmfSaveDc class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
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: EmfSaveDc()
EmfSaveDc()
Initializes a new instance of the EmfSaveDc class.
Constructor: EmfSaveDc(source)
EmfSaveDc(source)
Initializes a new instance of the EmfSaveDc class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
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 |