EmfSetPaletteEntries

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 EmfSetPaletteEntries extends EmfObjectManipulationRecordType

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

Constructors

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

Methods

MethodDescription
getIhPal()Gets or sets a 32-bit unsigned integer that specifies the palette EMF Object Table index.
setIhPal(int value)Gets or sets a 32-bit unsigned integer that specifies the palette EMF Object Table index.
getStart()Gets or sets a 32-bit unsigned integer that specifies the index of the first entry to set.
setStart(int value)Gets or sets a 32-bit unsigned integer that specifies the index of the first entry to set.
getNumberofEntries()Gets or sets a 32-bit unsigned integer that specifies the number of entries.
setNumberofEntries(int value)Gets or sets a 32-bit unsigned integer that specifies the number of entries.
getArgb32PalEntries()Gets or sets an array of LogPaletteEntry (section 2.2.18) objects, of NumberOfEntries length, which specifies the palette entry data.
setArgb32PalEntries(int[] value)Gets or sets an array of LogPaletteEntry (section 2.2.18) objects, of NumberOfEntries length, which specifies the palette entry data.

EmfSetPaletteEntries(EmfRecord source)

public EmfSetPaletteEntries(EmfRecord source)

Initializes a new instance of the EmfSetPaletteEntries class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getIhPal()

public int getIhPal()

Gets or sets a 32-bit unsigned integer that specifies the palette EMF Object Table index.

Returns: int

setIhPal(int value)

public void setIhPal(int value)

Gets or sets a 32-bit unsigned integer that specifies the palette EMF Object Table index.

Parameters:

ParameterTypeDescription
valueint

getStart()

public int getStart()

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

Returns: int

setStart(int value)

public void setStart(int value)

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

Parameters:

ParameterTypeDescription
valueint

getNumberofEntries()

public int getNumberofEntries()

Gets or sets a 32-bit unsigned integer that specifies the number of entries.

Returns: int

setNumberofEntries(int value)

public void setNumberofEntries(int value)

Gets or sets a 32-bit unsigned integer that specifies the number of entries.

Parameters:

ParameterTypeDescription
valueint

getArgb32PalEntries()

public int[] getArgb32PalEntries()

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

Returns: int[]

setArgb32PalEntries(int[] value)

public void setArgb32PalEntries(int[] value)

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

Parameters:

ParameterTypeDescription
valueint[]