EmfSetPaletteEntries 类

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

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfSetPaletteEntries

Inheritance: EmfObjectManipulationRecordType

Constructors

Name描述
EmfSetPaletteEntries(source)初始化 EmfSetPaletteEntries 类的新实例。

Properties

NameTypeAccess描述
argb_32_pal_entriesint[]r/w获取或设置一个 LogPaletteEntry (section 2.2.18) 对象数组,的
NumberOfEntries 长度,指定调色板条目数据。Values 成员不包含任何值。
ih_palintr/w获取或设置一个 32 位无符号整数,指定调色板 EMF 对象表索引。
numberof_entriesintr/w获取或设置一个 32 位无符号整数,指定条目数量。
sizeintr/w获取或设置记录的大小
起始intr/w获取或设置一个 32 位无符号整数,指定要设置的第一个条目的索引。
typeEmfRecordTyper/w获取或设置类型。

Methods

Name描述
create_from_record(source)初始化 EmfRecord 类的新实例。
create_from_type(type)初始化 EmfRecord 类的新实例。

Constructor: EmfSetPaletteEntries(source)

 EmfSetPaletteEntries(source) 

初始化 EmfSetPaletteEntries 类的新实例。

Parameters:

参数TypeDescription
sourceEmfRecord来源。

Method: create_from_record(source) [static]

 create_from_record(source) 

初始化 EmfRecord 类的新实例。

Parameters:

参数TypeDescription
sourceEmfRecord来源。

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

初始化 EmfRecord 类的新实例。

Parameters:

参数TypeDescription
typeEmfRecordType记录类型。

Returns

TypeDescription
EmfRecord