EmfSaveDc
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfStateRecordType
public final class EmfSaveDc extends EmfStateRecordType
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.
The stack can contain state information for multiple instances of the playback device context. When a state is restored, all state instances that were saved more recently MUST be discarded.
Constructors
| Constructor | Description |
|---|---|
| EmfSaveDc(EmfRecord source) | Initializes a new instance of the EmfSaveDc class. |
| EmfSaveDc() | Initializes a new instance of the EmfSaveDc class. |
EmfSaveDc(EmfRecord source)
public EmfSaveDc(EmfRecord source)
Initializes a new instance of the EmfSaveDc class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | EmfRecord | The source. |
EmfSaveDc()
public EmfSaveDc()
Initializes a new instance of the EmfSaveDc class.