EmfColorCorrectPalette Class

Summary: The EMR_COLORCORRECTPALETTE record specifies how to correct the entries of a logical palette
object using WCS 1.0 values.

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

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

Inheritance: EmfObjectManipulationRecordType

Constructors

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

Properties

NameTypeAccessDescription
ih_paletteintr/wGets or sets a 32-bit unsigned integer that specifies index of a logical palette object
(section 2.2.17) in the EMF Object Table (section 3.1.1.1).
n_first_entryintr/wGets or sets a 32-bit unsigned integer that specifies the index of the first entry to correct.
n_pal_entriesintr/wGets or sets a 32-bit unsigned integer that specifies the number of palette entries to correct.
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: EmfColorCorrectPalette(source)

 EmfColorCorrectPalette(source) 

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