EmfExtCreatePen 类

Summary: The EMR_EXTCREATEPEN record defines an extended logical pen for graphics operations. An
optional DIB can be specified to use as the line style.

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

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

Inheritance: EmfObjectCreationRecordType

Constructors

Name描述
EmfExtCreatePen()初始化 EmfExtCreatePen 类的新实例。
EmfExtCreatePen(record)初始化 EmfExtCreatePen 类的新实例。

Properties

NameTypeAccess描述
bitmap_bufferWmfDeviceIndependentBitmapr/w获取或设置一个可选缓冲区,其中包含以 WMF DeviceIndependentBitmap 对象形式打包的 DIB
([MS-WMF] 第 2.2.2.9 节)。它不需要与 EMR_EXTCREATEPEN 记录的固定部分连续。
elpEmfLogPenExr/w获取或设置一个 LogPenEx 对象(第 2.2.20 节),它指定具有包括可选线型数组在内属性的扩展逻辑
笔。
ih_penintr/w获取或设置 32 位无符号整数,指定 EMF 对象表(第 3.1.1.1 节)中扩展逻辑
笔对象的索引。
必须保存此索引,以便可以重新使用或修改该对象。
sizeintr/w获取或设置记录的大小
typeEmfRecordTyper/w获取或设置类型。

Methods

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

Constructor: EmfExtCreatePen()

 EmfExtCreatePen() 

初始化 EmfExtCreatePen 类的新实例。

Constructor: EmfExtCreatePen(record)

 EmfExtCreatePen(record) 

初始化 EmfExtCreatePen 类的新实例。

Parameters:

参数TypeDescription
recordEmfRecord该记录。

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