EmfSelectPalette Class

Summary: The EMR_SELECTPALETTE record specifies a logical palette for the playback device context.

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

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

Inheritance: EmfObjectManipulationRecordType

Constructors

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

Properties

NameTypeAccessDescription
ih_palintr/wGets or sets a 32-bit unsigned integer that specifies either the index of a LogPalette object
(section 2.2.17) in the EMF Object Table or the value DEFAULT_PALETTE, which is the index
of a stock object palette from the StockObject enumeration (section 2.1.31).
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: EmfSelectPalette(source)

 EmfSelectPalette(source) 

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