Packages

 

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

Classes

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

Class EmfEof

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


    public final class EmfEof
    extends EmfControlRecordType

    The EMR_EOF record indicates the end of the metafile and specifies a palette.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfEof()
      Initializes a new instance of the EmfEof class.
      EmfEof(EmfRecord record)
      Initializes a new instance of the EmfEof class.
    • Constructor Detail

      • EmfEof

        public EmfEof(EmfRecord record)

        Initializes a new instance of the EmfEof class.

        Parameters:
        record - The record.
      • EmfEof

        public EmfEof()

        Initializes a new instance of the EmfEof class.

    • Method Detail

      • getPaletteArgb32Entries

        public int[] getPaletteArgb32Entries()

        Gets an optional buffer that contains palette data, which is not required to be contiguous with the fixed portion of the EMR_EOF record. Accordingly, fields in this buffer that are labeled "UndefinedSpace" are optional and MUST be ignored. The size of this field MUST be a multiple of 4 bytes

      • setPaletteArgb32Entries

        public void setPaletteArgb32Entries(int[] value)

        Sets an optional buffer that contains palette data, which is not required to be contiguous with the fixed portion of the EMR_EOF record. Accordingly, fields in this buffer that are labeled "UndefinedSpace" are optional and MUST be ignored. The size of this field MUST be a multiple of 4 bytes

      • getSizeLast

        public int getSizeLast()

        Gets a 32-bit unsigned integer that MUST be the same as Size and MUST be the last field of the record and hence the metafile. LogPaletteEntry objects, if they exist, MUST precede this field.

      • setSizeLast

        public void setSizeLast(int value)

        Sets a 32-bit unsigned integer that MUST be the same as Size and MUST be the last field of the record and hence the metafile. LogPaletteEntry objects, if they exist, MUST precede this field.