Classe EmfSaveDc
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() | Initialise une nouvelle instance de la classe EmfSaveDc. |
| EmfSaveDc(source) | Initialise une nouvelle instance de la classe EmfSaveDc. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| size | int | r/w | Obtient ou définit la taille de l’enregistrement |
| type | EmfRecordType | r/w | Obtient ou définit le type. |
Methods
| Name | Description |
|---|---|
| create_from_record(source) | Initialise une nouvelle instance de la classe EmfRecord. |
| create_from_type(type) | Initialise une nouvelle instance de la classe EmfRecord. |
Constructor: EmfSaveDc()
EmfSaveDc()
Initialise une nouvelle instance de la classe EmfSaveDc.
Constructor: EmfSaveDc(source)
EmfSaveDc(source)
Initialise une nouvelle instance de la classe EmfSaveDc.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| source | EmfRecord | La source. |
Method: create_from_record(source) [static]
create_from_record(source)
Initialise une nouvelle instance de la classe EmfRecord.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| source | EmfRecord | La source. |
Returns
| Type | Description |
|---|---|
| EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initialise une nouvelle instance de la classe EmfRecord.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| type | EmfRecordType | Le type d’enregistrement. |
Returns
| Type | Description |
|---|---|
| EmfRecord |