EmfSaveDc Class

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

Aspose.Imaging Version: 24.6.0

Constructors

NameDescription
EmfSaveDc()Initializes a new instance of the EmfSaveDc class.
EmfSaveDc(source)Initializes a new instance of the EmfSaveDc class.

Properties

NameTypeAccessDescription
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.

Methods

NameDescription
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: EmfSaveDc()

 EmfSaveDc() 

Initializes a new instance of the EmfSaveDc class.

Constructor: EmfSaveDc(source)

 EmfSaveDc(source) 

Initializes a new instance of the EmfSaveDc class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord