EmfSetPaletteEntries Class

Summary: The EMR_SETPALETTEENTRIES record defines RGB color values in a range of entries for an existing
LogPalette (section 2.2.17) object.

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

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

Inheritance: EmfObjectManipulationRecordType

Constructors

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

Properties

NameTypeAccessDescription
argb_32_pal_entriesintr/wGets or sets an array of LogPaletteEntry (section 2.2.18) objects, of
NumberOfEntries length, which specifies the palette entry data. The Values members do
not contain any values.
ih_palintr/wGets or sets a 32-bit unsigned integer that specifies the palette EMF Object Table index.
numberof_entriesintr/wGets or sets a 32-bit unsigned integer that specifies the number of entries.
sizeintr/wGets or sets the size of the record
startintr/wGets or sets a 32-bit unsigned integer that specifies the index of the first entry to set.
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: EmfSetPaletteEntries(source)

 EmfSetPaletteEntries(source) 

Initializes a new instance of the EmfSetPaletteEntries 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