EmfEof Class

Summary: The EMR_EOF record indicates the end of the metafile and specifies a palette.

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

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

Inheritance: EmfControlRecordType

Constructors

NameDescription
EmfEof()Initializes a new instance of the EmfEof class.
EmfEof(record)Initializes a new instance of the EmfEof class.

Properties

NameTypeAccessDescription
palette_argb_32_entriesintr/wGets or sets an optional buffer that contains palette data, which is not
required to be contiguous with the fixed portion of the EMR_EOF
record. Accordingly, fields in this buffer that are labeled
“UndefinedSpace” are optional and MUST be ignored.
The size of this field MUST be a multiple of 4 bytes
sizeintr/wGets or sets the size of the record
size_lastintr/wGets or sets a 32-bit unsigned integer that MUST be the same as Size and MUST be the last
field of the record and hence the metafile. LogPaletteEntry objects, if they
exist, MUST precede this field.
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: EmfEof()

 EmfEof() 

Initializes a new instance of the EmfEof class.

Constructor: EmfEof(record)

 EmfEof(record) 

Initializes a new instance of the EmfEof class.

Parameters:

ParameterTypeDescription
recordEmfRecordThe record.

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