Packages

 

com.aspose.imaging.fileformats.emf.emf.records

Classes

com.aspose.imaging.fileformats.emf.emf.records

Class EmfCommentWindowsMetaFile

  • All Implemented Interfaces:
    com.aspose.imaging_internal.fileformats.emf.IRecord, Cloneable


    public final class EmfCommentWindowsMetaFile
    extends EmfCommentPublicRecordType

    The EMR_COMMENT_WINDOWS_METAFILE record specifies an image in an embedded WMF metafile.

    • Constructor Detail

      • EmfCommentWindowsMetaFile

        public EmfCommentWindowsMetaFile(EmfRecord source)

        Initializes a new instance of the EmfCommentWindowsMetaFile class.

        Parameters:
        source - The source.
    • Method Detail

      • getVersion

        public short getVersion()

        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).

      • setVersion

        public void setVersion(short value)

        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).

      • getChecksum

        public int getChecksum()

        Gets or sets a 32-bit unsigned integer that specifies the checksum for this record.

      • setChecksum

        public void setChecksum(int value)

        Gets or sets a 32-bit unsigned integer that specifies the checksum for this record.

      • getFlags

        public int getFlags()

        Gets or sets a 32-bit value that MUST be 0x00000000 and MUST be ignored.

      • setFlags

        public void setFlags(int value)

        Gets or sets a 32-bit value that MUST be 0x00000000 and MUST be ignored.

      • getWinMetafileSize

        public int getWinMetafileSize()

        Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the WMF metafile in the WinMetafile field.

      • setWinMetafileSize

        public void setWinMetafileSize(int value)

        Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the WMF metafile in the WinMetafile field.

      • getWinMetafile

        public MetaImage getWinMetafile()

        Gets or sets a buffer that contains the WMF metafile.

      • setWinMetafile

        public void setWinMetafile(MetaImage value)

        Gets or sets a buffer that contains the WMF metafile.