EmfRestoreDc Class
Contents
[
Hide
]Summary: The EMR_RESTOREDC record restores the playback device context to the specified state. The
playback device context is restored by popping state information off a stack that was created by
prior EMR_SAVEDC records (section 2.3.11).
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfRestoreDc
Inheritance: EmfStateRecordType
Constructors
Name | Description |
---|---|
EmfRestoreDc() | Initializes a new instance of the EmfRestoreDc class. |
EmfRestoreDc(source) | Initializes a new instance of the EmfRestoreDc class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
saved_dc | int | r/w | Gets or sets a 32-bit signed integer that specifies the saved state to restore relative to the current state. This value MUST be negative; –1 represents the state that was most recently saved on the stack, –2 the one before that, etc. |
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: EmfRestoreDc()
EmfRestoreDc()
Initializes a new instance of the EmfRestoreDc class.
Constructor: EmfRestoreDc(source)
EmfRestoreDc(source)
Initializes a new instance of the EmfRestoreDc 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 |