Table of Contents

Class WmfEscapeEnhancedMetafile

Namespace
Aspose.Imaging.FileFormats.Wmf.Objects.EscapeRecords
Assembly
Aspose.Imaging.dll

The Escape Enhanced Meta file record.

public class WmfEscapeEnhancedMetafile : WmfEscapeRecordBase
Inheritance
WmfEscapeEnhancedMetafile
Inherited Members

Constructors

WmfEscapeEnhancedMetafile()

public WmfEscapeEnhancedMetafile()

Properties

Checksum

Gets or sets the checksum.

public int Checksum { get; set; }

Property Value

int

A 16-bit unsigned integer used to validate the correctness of the embedded EMF stream. This value MUST be the one's-complement of the result of applying an XOR operation to all WORDs in the EMF stream.

CommentIdentifier

Gets or sets the comment identifier.

public int CommentIdentifier { get; set; }

Property Value

int

A 32-bit unsigned integer that defines this record as a WMF Comment record. This value MUST be 0x43464D57.

CommentRecordCount

Gets or sets the comment record count.

public int CommentRecordCount { get; set; }

Property Value

int

A 32-bit unsigned integer that specifies the total number of consecutive META_ESCAPE_ENHANCED_METAFILE records that contain the embedded EMF metafile.

CommentType

Gets or sets the type of the comment.

public int CommentType { get; set; }

Property Value

int

A 32-bit unsigned integer that identifies the type of comment in this record. This value MUST be 0x00000001.

CurrentRecordSize

Gets or sets the size of the current record.

public int CurrentRecordSize { get; set; }

Property Value

int

A 32-bit unsigned integer that specifies the size, in bytes, of the EnhancedMetafileData field. This value MUST be less than or equal to 8,192.

EnhancedMetafileData

Gets or sets the enhanced metafile data.

public byte[] EnhancedMetafileData { get; set; }

Property Value

byte[]

A segment of an EMF file. The bytes in consecutive META_ESCAPE_ENHANCED_METAFILE records MUST be concatenated to represent the entire embedded EMF file.

EnhancedMetafileDataSize

Gets or sets the size of the enhanced metafile data.

public int EnhancedMetafileDataSize { get; set; }

Property Value

int

A 32-bit unsigned integer that specifies the total size of the EMF stream embedded in this sequence of META_ESCAPE_ENHANCED_METAFILE records.

Flags

Gets or sets the flags.

public int Flags { get; set; }

Property Value

int

This 32-bit unsigned integer is unused and MUST be set to zero.

RemainingBytes

Gets or sets the remaining bytes.

public int RemainingBytes { get; set; }

Property Value

int

A 32-bit unsigned integer that specifies the number of bytes in the EMF stream that remain to be processed after this record. Those additional EMF bytes MUST follow in the EnhancedMetafileData fields of subsequent META_ESCAPE_ENHANDED_METAFILE escape records.

Version

Gets or sets the version.

public int Version { get; set; }

Property Value

int

A 32-bit unsigned integer that specifies EMF metafile interoperability. This SHOULD be 0x00010000