EmfCommentBeginGroup Class

Summary: The EMR_COMMENT_BEGINGROUP record specifies the beginning of a group of drawing records.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfCommentBeginGroup

Inheritance: EmfCommentPublicRecordType

Aspose.Imaging Version: 24.6.0

Constructors

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

Properties

NameTypeAccessDescription
comment_identifierEmfCommentRecordType.CommentIdentifierEnumr/wGets or sets a 32-bit unsigned integer that identifies this comment record
as specifying public data. The value 0x43494447, which is the ASCII string “CIDG”, identifies
this as an EMR_COMMENT_PUBLIC record.
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
descriptionstringr/wGets or sets an optional, null-terminated Unicode string that describes this group of records.
n_descriptionintr/wGets or sets the number of Unicode characters in the optional description string that follows.
public_comment_identifierEmfEmrCommentr/wGets or sets a 32-bit unsigned integer that identifies the type of
public comment record. This SHOULD be one of the values listed in the preceding table, which
are specified in the EmrComment enumeration (section 2.1.10), unless additional public
comment record types have been implemented on the print server.
rectangleRectangler/wGets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the
output rectangle in logical coordinates.
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: EmfCommentBeginGroup(source)

 EmfCommentBeginGroup(source) 

Initializes a new instance of the EmfCommentBeginGroup 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