EmfResizePalette

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

The EMR_RESIZEPALETTE record increases or decreases the size of an existing LogPalette object (section 2.2.17).

The new size of the LogPalette object MUST be reflected in the NumberOfEntries field in that structure.

Constructors

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

Methods

MethodDescription
getIhPal()Gets or sets a 32-bit unsigned integer that specifies the index of the palette object in the EMF Object Table (section 3.1.1.1).
setIhPal(int value)Gets or sets a 32-bit unsigned integer that specifies the index of the palette object in the EMF Object Table (section 3.1.1.1).

EmfResizePalette(EmfRecord source)

public EmfResizePalette(EmfRecord source)

Initializes a new instance of the EmfResizePalette class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getIhPal()

public int getIhPal()

Gets or sets a 32-bit unsigned integer that specifies the index of the palette object in the EMF Object Table (section 3.1.1.1).

Returns: int

setIhPal(int value)

public void setIhPal(int value)

Gets or sets a 32-bit unsigned integer that specifies the index of the palette object in the EMF Object Table (section 3.1.1.1).

Parameters:

ParameterTypeDescription
valueint