Packages

 

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

Classes

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

Class EmfMetafileHeaderExtension1

  • All Implemented Interfaces:
    com.aspose.imaging_internal.fileformats.emf.IRecord, Cloneable
    Direct Known Subclasses:
    EmfMetafileHeaderExtension2


    public class EmfMetafileHeaderExtension1
    extends EmfMetafileHeader

    The EmfMetafileHeaderExtension1 record is the header record used in the first extension to EMF metafiles. Following the EmfHeaderExtension1 field, the remaining fields are optional and can be present in any order.

    • Constructor Detail

      • EmfMetafileHeaderExtension1

        public EmfMetafileHeaderExtension1(EmfMetafileHeader header)

        Initializes a new instance of the EmfMetafileHeaderExtension1 class.

        Parameters:
        header - The header.
      • EmfMetafileHeaderExtension1

        public EmfMetafileHeaderExtension1(EmfMetafileHeaderExtension1 header)

        Initializes a new instance of the EmfMetafileHeaderExtension1 class.

        Parameters:
        header - The header.
    • Method Detail

      • getEmfHeaderExtension1

        public EmfHeaderExtension1 getEmfHeaderExtension1()

        Gets or sets a HeaderExtension1 object, which specifies additional information about the image in the metafile.

      • setEmfHeaderExtension1

        public void setEmfHeaderExtension1(EmfHeaderExtension1 value)

        Gets or sets a HeaderExtension1 object, which specifies additional information about the image in the metafile.

      • getEmfPixelFormatBuffer

        public byte[] getEmfPixelFormatBuffer()

        Gets or sets an optional array of bytes that contains the EMF pixel format descriptor, which is not required to be contiguous with the fixed portion of the EmfMetafileHeaderExtension1 record or with the EMF description string. Accordingly, the field in this buffer that is labeled "UndefinedSpace" is optional and MUST be ignored

      • setEmfPixelFormatBuffer

        public void setEmfPixelFormatBuffer(byte[] value)

        Gets or sets an optional array of bytes that contains the EMF pixel format descriptor, which is not required to be contiguous with the fixed portion of the EmfMetafileHeaderExtension1 record or with the EMF description string. Accordingly, the field in this buffer that is labeled "UndefinedSpace" is optional and MUST be ignored