public final class EmfSelectPalette extends EmfObjectManipulationRecordType
The EMR_SELECTPALETTE record specifies a logical palette for the playback device context.
Constructor and Description |
---|
EmfSelectPalette(EmfRecord source)
Initializes a new instance of the
EmfSelectPalette class. |
Modifier and Type | Method and Description |
---|---|
int |
getIhPal()
Gets or sets a 32-bit unsigned integer that specifies either the index of a LogPalette object
(section 2.2.17) in the EMF Object Table or the value DEFAULT_PALETTE, which is the index
of a stock object palette from the StockObject enumeration (section 2.1.31).
|
void |
setIhPal(int value)
Gets or sets a 32-bit unsigned integer that specifies either the index of a LogPalette object
(section 2.2.17) in the EMF Object Table or the value DEFAULT_PALETTE, which is the index
of a stock object palette from the StockObject enumeration (section 2.1.31).
|
public EmfSelectPalette(EmfRecord source)
Initializes a new instance of the EmfSelectPalette
class.
source
- The source.public int getIhPal()
Gets or sets a 32-bit unsigned integer that specifies either the index of a LogPalette object (section 2.2.17) in the EMF Object Table or the value DEFAULT_PALETTE, which is the index of a stock object palette from the StockObject enumeration (section 2.1.31).
This value MUST NOT be zero or the index of any other stock object.
public void setIhPal(int value)
Gets or sets a 32-bit unsigned integer that specifies either the index of a LogPalette object (section 2.2.17) in the EMF Object Table or the value DEFAULT_PALETTE, which is the index of a stock object palette from the StockObject enumeration (section 2.1.31).
This value MUST NOT be zero or the index of any other stock object.