EmfLogPalette

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.objects.EmfObject

public final class EmfLogPalette extends EmfObject

The LogPalette object specifies a logical_palette that contains device-independent color definitions.

Constructors

ConstructorDescription
EmfLogPalette()

Methods

MethodDescription
getVersion()Gets or sets a 16-bit unsigned integer that specifies the version number of the system.
setVersion(short value)Gets or sets a 16-bit unsigned integer that specifies the version number of the system.
getPaletteArgb32Entries()Gets or sets an array of 32-bit ARGB colors.
setPaletteArgb32Entries(int[] value)Gets or sets an array of 32-bit ARGB colors.

EmfLogPalette()

public EmfLogPalette()

getVersion()

public short getVersion()

Gets or sets a 16-bit unsigned integer that specifies the version number of the system. This MUST be 0x0300.

Returns: short

setVersion(short value)

public void setVersion(short value)

Gets or sets a 16-bit unsigned integer that specifies the version number of the system. This MUST be 0x0300.

Parameters:

ParameterTypeDescription
valueshort

getPaletteArgb32Entries()

public int[] getPaletteArgb32Entries()

Gets or sets an array of 32-bit ARGB colors.

Returns: int[]

setPaletteArgb32Entries(int[] value)

public void setPaletteArgb32Entries(int[] value)

Gets or sets an array of 32-bit ARGB colors.

Parameters:

ParameterTypeDescription
valueint[]