EmfSelectObject 类
内容
[
隐藏
]Summary: The EMR_SELECTOBJECT record adds a graphics object to the current metafile playback device
context. The object is specified either by its index in the EMF Object Table(section 3.1.1.1) or by its
value from the StockObject enumeration(section 2.1.31).
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfSelectObject
Inheritance: EmfRecord
Constructors
| Name | 描述 |
|---|---|
| EmfSelectObject() | 初始化 EmfSelectObject 类的新实例。 |
| EmfSelectObject(record) | 初始化 EmfSelectObject 类的新实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| object_handle | int | r/w | 获取或设置 32 位无符号整数,指定 EMF 对象表中图形对象的索引,或来自 EmfStockObject 枚举的库存对象索引。 |
| size | int | r/w | 获取或设置记录的大小 |
| type | EmfRecordType | r/w | 获取或设置类型。 |
Methods
| Name | 描述 |
|---|---|
| create_from_record(source) | 初始化 EmfRecord 类的新实例。 |
| create_from_type(type) | 初始化 EmfRecord 类的新实例。 |
Constructor: EmfSelectObject()
EmfSelectObject()
初始化 EmfSelectObject 类的新实例。
Constructor: EmfSelectObject(record)
EmfSelectObject(record)
初始化 EmfSelectObject 类的新实例。
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 |