EmfComment Class
Contents
[
Hide
]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 | Description |
---|---|
EmfComment(source) | Initializes a new instance of the EmfComment class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
comment_identifier | EmfCommentRecordType.CommentIdentifierEnum | r/w | Gets or sets the comment identifier. |
data_size | int | r/w | Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the CommentIdentifier and CommentRecordParm fields in the RecordBuffer field that follows. It MUST NOT include the size of itself or the size of the AlignmentPadding field, if present |
private_data | byte | r/w | Gets or sets an optional array of bytes that specifies the private data. The first DWORD of this data MUST NOT be one of the predefined comment identifier values specified in section 2.3.3. Private data is unknown to EMF; it is meaningful only to applications that know the format of the data and how to use it. EMR_COMMENT private data records MAY be ignored. |
size | int | r/w | Gets or sets the size of the record |
type | EmfRecordType | r/w | Gets or sets the type. |
Methods
Name | Description |
---|---|
create_from_record(source) | Initializes a new instance of the EmfRecord class. |
create_from_type(type) | Initializes a new instance of the EmfRecord class. |
Constructor: EmfComment(source)
EmfComment(source)
Initializes a new instance of the EmfComment class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Method: create_from_record(source) [static]
create_from_record(source)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Returns
Type | Description |
---|---|
EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | EmfRecordType | The record type. |
Returns
Type | Description |
---|---|
EmfRecord |