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
| Name | Type | Access | 描述 |
|---|---|---|---|
| bitmap_buffer | WmfDeviceIndependentBitmap | r/w | 获取或设置一个可选缓冲区,其中包含以 WMF DeviceIndependentBitmap 对象形式打包的 DIB ([MS-WMF] 第 2.2.2.9 节)。它不需要与 EMR_EXTCREATEPEN 记录的固定部分连续。 |
| elp | EmfLogPenEx | r/w | 获取或设置一个 LogPenEx 对象(第 2.2.20 节),它指定具有包括可选线型数组在内属性的扩展逻辑 笔。 |
| ih_pen | int | r/w | 获取或设置 32 位无符号整数,指定 EMF 对象表(第 3.1.1.1 节)中扩展逻辑 笔对象的索引。 必须保存此索引,以便可以重新使用或修改该对象。 |
| size | int | r/w | 获取或设置记录的大小 |
| type | EmfRecordType | r/w | 获取或设置类型。 |
Methods
| Name | 描述 |
|---|---|
| create_from_record(source) | 初始化 EmfRecord 类的新实例。 |
| create_from_type(type) | 初始化 EmfRecord 类的新实例。 |
Constructor: EmfExtCreatePen()
EmfExtCreatePen()
初始化 EmfExtCreatePen 类的新实例。
Constructor: EmfExtCreatePen(record)
EmfExtCreatePen(record)
初始化 EmfExtCreatePen 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| record | EmfRecord | 该记录。 |
Method: create_from_record(source) [static]
create_from_record(source)
初始化 EmfRecord 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| source | EmfRecord | 来源。 |
Returns
| Type | Description |
|---|---|
| EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
初始化 EmfRecord 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| type | EmfRecordType | 记录类型。 |
Returns
| Type | Description |
|---|---|
| EmfRecord |