EmfRecord Class

Summary: Base class for EMF records
All EMF records MUST have a length that is a multiple of 4 bytes. This is depicted in the
generic structures of the preceding EMF record types by including AlignmentPadding fields
where appropriate at the ends of these structures. The contents of AlignmentPadding fields
MUST always be ignored. For brevity, these fields are not shown in every individual EMF
record definition.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfRecord

Inheritance: MetaObject

Constructors

NameDescription
EmfRecord()Initializes a new instance of the EmfRecord class.
EmfRecord(source)Initializes a new instance of the EmfRecord class.
EmfRecord(type)Initializes a new instance of the EmfRecord 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: EmfRecord()

 EmfRecord() 

Initializes a new instance of the EmfRecord class.

Constructor: EmfRecord(source)

 EmfRecord(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Constructor: EmfRecord(type)

 EmfRecord(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

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