Packages

 

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

Class EmfPlusRecord

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfPlusRecord()
      Initializes a new instance of the EmfPlusRecord class.
      EmfPlusRecord(EmfPlusRecord source)
      Initializes a new instance of the EmfPlusRecord class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getDataSize()
      Gets a 32-bit unsigned integer that MUST define the 32-bit–aligned number of bytes of data in the RecordData field that follows.
      short getFlags()
      Gets a 16-bit unsigned integer that contains information for some records on how the operation is to be performed and on the structure of the record.
      int getSize()
      Gets a 32-bit unsigned integer that specifies the 32-bit-aligned number of bytes in the entire record, including the 12-byte record header and record-specific data.
      short getType()
      Gets a 16-bit unsigned integer that identifies the record type.
      void setDataSize(int value)
      Sets a 32-bit unsigned integer that MUST define the 32-bit–aligned number of bytes of data in the RecordData field that follows.
      void setFlags(short value)
      Sets a 16-bit unsigned integer that contains information for some records on how the operation is to be performed and on the structure of the record.
      void setSize(int value)
      Sets a 32-bit unsigned integer that specifies the 32-bit-aligned number of bytes in the entire record, including the 12-byte record header and record-specific data.
    • Constructor Detail

      • EmfPlusRecord

        public EmfPlusRecord()

        Initializes a new instance of the EmfPlusRecord class.

      • EmfPlusRecord

        public EmfPlusRecord(EmfPlusRecord source)

        Initializes a new instance of the EmfPlusRecord class.

        Parameters:
        source - The source.
    • Method Detail

      • getType

        public short getType()

        Gets a 16-bit unsigned integer that identifies the record type.

      • getFlags

        public short getFlags()

        Gets a 16-bit unsigned integer that contains information for some records on how the operation is to be performed and on the structure of the record.

        Returns:
        The flags.
      • setFlags

        public void setFlags(short value)

        Sets a 16-bit unsigned integer that contains information for some records on how the operation is to be performed and on the structure of the record.

        Parameters:
        value - The flags.
      • getSize

        public int getSize()

        Gets a 32-bit unsigned integer that specifies the 32-bit-aligned number of bytes in the entire record, including the 12-byte record header and record-specific data.

        Specified by:
        getSize in interface com.aspose.imaging_internal.fileformats.emf.IRecord
        Returns:
        The size.
      • setSize

        public void setSize(int value)

        Sets a 32-bit unsigned integer that specifies the 32-bit-aligned number of bytes in the entire record, including the 12-byte record header and record-specific data.

        Specified by:
        setSize in interface com.aspose.imaging_internal.fileformats.emf.IRecord
        Parameters:
        value - The size.
      • getDataSize

        public int getDataSize()

        Gets a 32-bit unsigned integer that MUST define the 32-bit–aligned number of bytes of data in the RecordData field that follows. This number does not include the 12-byte record header.

        Returns:
        The size of the data.
      • setDataSize

        public void setDataSize(int value)

        Sets a 32-bit unsigned integer that MUST define the 32-bit–aligned number of bytes of data in the RecordData field that follows. This number does not include the 12-byte record header.

        Parameters:
        value - The size of the data.