EmfComment Class

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

NameDescription
EmfComment(source)Initializes a new instance of the EmfComment class.

Properties

NameTypeAccessDescription
comment_identifierEmfCommentRecordType.CommentIdentifierEnumr/wGets or sets the comment identifier.
data_sizeintr/wGets 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_databyter/wGets 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.
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.

Methods

NameDescription
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:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord