EmfColorCorrectPalette

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfObjectManipulationRecordType

public final class EmfColorCorrectPalette extends EmfObjectManipulationRecordType

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

Constructors

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

Methods

MethodDescription
getIhPalette()Gets 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).
setIhPalette(int value)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).
getNFirstEntry()Gets a 32-bit unsigned integer that specifies the index of the first entry to correct.
setNFirstEntry(int value)Sets a 32-bit unsigned integer that specifies the index of the first entry to correct.
getNPalEntries()Gets a 32-bit unsigned integer that specifies the number of palette entries to correct.
setNPalEntries(int value)Sets a 32-bit unsigned integer that specifies the number of palette entries to correct.

EmfColorCorrectPalette(EmfRecord source)

public EmfColorCorrectPalette(EmfRecord source)

Initializes a new instance of the EmfColorCorrectPalette class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getIhPalette()

public int getIhPalette()

Gets 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).

Returns: int

setIhPalette(int value)

public void setIhPalette(int value)

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).

Parameters:

ParameterTypeDescription
valueint

getNFirstEntry()

public int getNFirstEntry()

Gets a 32-bit unsigned integer that specifies the index of the first entry to correct.

Returns: int

setNFirstEntry(int value)

public void setNFirstEntry(int value)

Sets a 32-bit unsigned integer that specifies the index of the first entry to correct.

Parameters:

ParameterTypeDescription
valueint

getNPalEntries()

public int getNPalEntries()

Gets a 32-bit unsigned integer that specifies the number of palette entries to correct.

Returns: int

setNPalEntries(int value)

public void setNPalEntries(int value)

Sets a 32-bit unsigned integer that specifies the number of palette entries to correct.

Parameters:

ParameterTypeDescription
valueint