Packages

 

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

Classes

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

Class EmfCommentMultiFormats

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


    public final class EmfCommentMultiFormats
    extends EmfCommentPublicRecordType

    The EMR_COMMENT_MULTIFORMATS record specifies an image in multiple graphics formats.

    • Constructor Detail

      • EmfCommentMultiFormats

        public EmfCommentMultiFormats(EmfRecord source)

        Initializes a new instance of the EmfCommentMultiFormats class.

        Parameters:
        source - The source.
    • Method Detail

      • getOutputRect

        public Rectangle getOutputRect()

        Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the output rectangle, in logical coordinates.

      • setOutputRect

        public void setOutputRect(Rectangle value)

        Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the output rectangle, in logical coordinates.

      • getAFormats

        public EmfFormat[] getAFormats()

        Gets or sets a CountFormats length array of graphics formats, specified by EmrFormat objects (section 2.2.4), in order of preference

      • setAFormats

        public void setAFormats(EmfFormat[] value)

        Gets or sets a CountFormats length array of graphics formats, specified by EmrFormat objects (section 2.2.4), in order of preference

      • getFormatData

        public byte[][] getFormatData()

        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.

      • setFormatData

        public void setFormatData(byte[][] value)

        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.