EmfCommentMultiFormats Class
Contents
[
Hide
]Summary: The EMR_COMMENT_MULTIFORMATS record specifies an image in multiple graphics formats.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfCommentMultiFormats
Inheritance: EmfCommentPublicRecordType
Constructors
Name | Description |
---|---|
EmfCommentMultiFormats(source) | Initializes a new instance of the EmfCommentMultiFormats class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
a_formats | EmfFormat[] | r/w | Gets or sets a CountFormats length array of graphics formats, specified by EmrFormat objects (section 2.2.4), in order of preference |
comment_identifier | EmfCommentRecordType.CommentIdentifierEnum | r/w | Gets 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_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 |
format_data | byte[] | r/w | Gets or sets a variable-length array of bytes of image data for all graphics formats contained in this record. The size of the data for each image is provided by the DataSize field in the corresponding EmrFormat object. Thus, the total size of this field is the sum of DataSize values in all EmrFormat objects. The graphics format of the data for each image is specified by the Signature field in the corresponding EmrFormat object. |
output_rect | Rectangle | r/w | Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the output rectangle, in logical coordinates. |
public_comment_identifier | EmfEmrComment | r/w | Gets 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. |
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: EmfCommentMultiFormats(source)
EmfCommentMultiFormats(source)
Initializes a new instance of the EmfCommentMultiFormats 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 |