EmfRecord 类
内容
[
隐藏
]Summary: Base class for EMF records
All EMF records MUST have a length that is a multiple of 4 bytes. This is depicted in the
generic structures of the preceding EMF record types by including AlignmentPadding fields
where appropriate at the ends of these structures. The contents of AlignmentPadding fields
MUST always be ignored. For brevity, these fields are not shown in every individual EMF
record definition.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfRecord
Inheritance: MetaObject
Constructors
| Name | 描述 |
|---|---|
| EmfRecord() | 初始化 EmfRecord 类的新实例。 |
| EmfRecord(source) | 初始化 EmfRecord 类的新实例。 |
| EmfRecord(type) | 初始化 EmfRecord 类的新实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| size | int | r/w | 获取或设置记录的大小 |
| type | EmfRecordType | r/w | 获取或设置类型。 |
Methods
| Name | 描述 |
|---|---|
| create_from_record(source) | 初始化 EmfRecord 类的新实例。 |
| create_from_type(type) | 初始化 EmfRecord 类的新实例。 |
Constructor: EmfRecord()
EmfRecord()
初始化 EmfRecord 类的新实例。
Constructor: EmfRecord(source)
EmfRecord(source)
初始化 EmfRecord 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| source | EmfRecord | 来源。 |
Constructor: EmfRecord(type)
EmfRecord(type)
初始化 EmfRecord 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| type | EmfRecordType | 记录类型。 |
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 |