EmfSelectPalette

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

EMR_SELECTPALETTE 记录为回放设备上下文指定逻辑调色板。

构造函数

构造函数描述
EmfSelectPalette(EmfRecord source)初始化 EmfSelectPalette 类的新实例。

方法

方法描述
getIhPal()获取或设置一个 32 位无符号整数,用于指定 EMF 对象表中 LogPalette 对象(第 2.2.17 节)的索引,或值 DEFAULT_PALETTE,该值是 StockObject 枚举(第 2.1.31 节)中库存对象调色板的索引。
setIhPal(int value)获取或设置一个 32 位无符号整数,用于指定 EMF 对象表中 LogPalette 对象(第 2.2.17 节)的索引,或值 DEFAULT_PALETTE,该值是 StockObject 枚举(第 2.1.31 节)中库存对象调色板的索引。

EmfSelectPalette(EmfRecord source)

public EmfSelectPalette(EmfRecord source)

初始化 EmfSelectPalette 类的新实例。

Parameters:

参数类型描述
sourceEmfRecord源。

getIhPal()

public int getIhPal()

获取或设置一个 32 位无符号整数,用于指定 EMF 对象表中 LogPalette 对象(第 2.2.17 节)的索引,或值 DEFAULT_PALETTE,该值是 StockObject 枚举(第 2.1.31 节)中库存对象调色板的索引。

此值不得为零或任何其他库存对象的索引。

Returns: int

setIhPal(int value)

public void setIhPal(int value)

获取或设置一个 32 位无符号整数,用于指定 EMF 对象表中 LogPalette 对象(第 2.2.17 节)的索引,或值 DEFAULT_PALETTE,该值是 StockObject 枚举(第 2.1.31 节)中库存对象调色板的索引。

此值不得为零或任何其他库存对象的索引。

Parameters:

参数类型描述
valueint