Class EmfRestoreDc
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)
The EMR_RESTOREDC record restores the playback device context to the specified state. Theplayback device context is restored by popping state information off a stack that was created byprior EMR_SAVEDC records (section 2.3.11).
public sealed class EmfRestoreDc : EmfStateRecordType
{
public EmfRestoreDc()
{
}
}
Inheritance
object ← MetaObject ← EmfRecord ← EmfStateRecordType ← EmfRestoreDc
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. Whena state is restored, all state instances that were saved more recently MUST be discarded.
Constructors
EmfRestoreDc(EmfRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfRestoreDc class.
public EmfRestoreDc(EmfRecord source)
{
}
Parameters
source
EmfRecord
The source.
EmfRestoreDc()
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfRestoreDc class.
public EmfRestoreDc()
{
}
Properties
SavedDc
Gets or sets a 32-bit signed integer that specifies the saved state to restore relative tothe current state. This value MUST be negative; –1 represents the state that was mostrecently saved on the stack, –2 the one before that, etc.
public int SavedDc
{
get;
set;
}