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
Name | Description |
---|---|
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
Name | Type | Access | Description |
---|---|---|---|
size | int | r/w | Gets or sets the size of the record |
type | EmfRecordType | r/w | Gets or sets the type. |
Methods
Name | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Constructor: EmfRecord(type)
EmfRecord(type)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | EmfRecordType | The record type. |
Method: create_from_record(source) [static]
create_from_record(source)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Returns
Type | Description |
---|---|
EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | EmfRecordType | The record type. |
Returns
Type | Description |
---|---|
EmfRecord |