EmfComment 类
内容
[
隐藏
]Summary: The EMR_COMMENT record contains arbitrary private data.
Note Fields that are not described in this section are specified in section 2.3.3.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfComment
Inheritance: EmfCommentRecordType
Constructors
| Name | 描述 |
|---|---|
| EmfComment(source) | 初始化 EmfComment 类的新实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| comment_identifier | EmfCommentRecordType+CommentIdentifierEnum | r/w | 获取或设置注释标识符。 |
| data_size | int | r/w | 获取或设置一个 32 位无符号整数,指定 CommentIdentifier 和 CommentRecordParm 字段在随后 RecordBuffer 字段中的大小(以字节为单位)。它不得包括自身的大小或 AlignmentPadding 字段的大小(如果存在)。 |
| private_data | System.Byte | r/w | 获取或设置一个可选的字节数组,用于指定私有数据。该数据的第一个 DWORD 必须不是第 2.3.3 节中指定的预定义注释标识符值之一。 私有数据对 EMF 是未知的;仅对了解该数据格式及其使用方式的应用程序有意义。EMR_COMMENT 私有数据记录可以被忽略。 |
| size | int | r/w | 获取或设置记录的大小 |
| type | EmfRecordType | r/w | 获取或设置类型。 |
Methods
| Name | 描述 |
|---|---|
| create_from_record(source) | 初始化 EmfRecord 类的新实例。 |
| create_from_type(type) | 初始化 EmfRecord 类的新实例。 |
Constructor: EmfComment(source)
EmfComment(source)
初始化 EmfComment 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| source | 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 |