EmfCommentWindowsMetaFile Class
Contents
[
Hide
]Summary: The EMR_COMMENT_WINDOWS_METAFILE record specifies an image in an embedded WMF metafile.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfCommentWindowsMetaFile
Inheritance: EmfCommentPublicRecordType
Aspose.Imaging Version: 24.5.0
Constructors
Name | Description |
---|---|
EmfCommentWindowsMetaFile(source) | Initializes a new instance of the EmfCommentWindowsMetaFile class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
checksum | int | r/w | Gets or sets a 32-bit unsigned integer that specifies the checksum for this record. |
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 |
flags | int | r/w | Gets or sets a 32-bit value that MUST be 0x00000000 and MUST be ignored. |
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. |
version | WmfMetafileVersion | r/w | Gets or sets a 16-bit unsigned integer that specifies the WMF metafile version in terms of support for device-independent bitmaps (DIBs), from the WMF MetafileVersion enumeration ([MS-WMF] section 2.1.1.19). |
win_metafile | MetaImage | r/w | Gets or sets a buffer that contains the WMF metafile. |
win_metafile_size | int | r/w | Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the WMF metafile in the WinMetafile field. |
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: EmfCommentWindowsMetaFile(source)
EmfCommentWindowsMetaFile(source)
Initializes a new instance of the EmfCommentWindowsMetaFile 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 |