Packages

 

com.aspose.imaging.fileformats.wmf.objects.escaperecords

Class WmfEscapeEnhancedMetafile

  • All Implemented Interfaces:
    Cloneable


    public class WmfEscapeEnhancedMetafile
    extends WmfEscapeRecordBase

    The Escape Enhanced Meta file record.

    • Constructor Detail

      • WmfEscapeEnhancedMetafile

        public WmfEscapeEnhancedMetafile()
    • Method Detail

      • getCommentIdentifier

        public int getCommentIdentifier()

        Gets or sets the comment identifier.

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

        public void setCommentIdentifier(int value)

        Gets or sets the comment identifier.

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

        public int getCommentType()

        Gets or sets the type of the comment.

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

        public void setCommentType(int value)

        Gets or sets the type of the comment.

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

        public int getVersion()

        Gets or sets the version.

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

        public void setVersion(int value)

        Gets or sets the version.

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

        public int getChecksum()

        Gets or sets the checksum.

        Value: 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.
      • setChecksum

        public void setChecksum(int value)

        Gets or sets the checksum.

        Value: 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.
      • getFlags

        public int getFlags()

        Gets or sets the flags.

        Value: This 32-bit unsigned integer is unused and MUST be set to zero.
      • setFlags

        public void setFlags(int value)

        Gets or sets the flags.

        Value: This 32-bit unsigned integer is unused and MUST be set to zero.
      • getCommentRecordCount

        public int getCommentRecordCount()

        Gets or sets the comment record count.

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

        public void setCommentRecordCount(int value)

        Gets or sets the comment record count.

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

        public int getCurrentRecordSize()

        Gets or sets the size of the current record.

        Value: 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.
      • setCurrentRecordSize

        public void setCurrentRecordSize(int value)

        Gets or sets the size of the current record.

        Value: 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.
      • getRemainingBytes

        public int getRemainingBytes()

        Gets or sets the remaining bytes.

        Value: 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.
      • setRemainingBytes

        public void setRemainingBytes(int value)

        Gets or sets the remaining bytes.

        Value: 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.
      • getEnhancedMetafileDataSize

        public int getEnhancedMetafileDataSize()

        Gets or sets the size of the enhanced metafile data.

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

        public void setEnhancedMetafileDataSize(int value)

        Gets or sets the size of the enhanced metafile data.

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

        public byte[] getEnhancedMetafileData()

        Gets or sets the enhanced metafile data.

        Value: 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.
      • setEnhancedMetafileData

        public void setEnhancedMetafileData(byte[] value)

        Gets or sets the enhanced metafile data.

        Value: 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.