Class EmfSaveDc
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.2.0)
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.
public sealed class EmfSaveDc : EmfStateRecordType
Inheritance
object ← MetaObject ← EmfRecord ← EmfStateRecordType ← EmfSaveDc
Inherited Members
EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
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
EmfSaveDc(EmfRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfSaveDc class.
public EmfSaveDc(EmfRecord source)
Parameters
source
EmfRecord
The source.
EmfSaveDc()
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfSaveDc class.
public EmfSaveDc()