Packages

 

com.aspose.imaging.fileformats.emf.emf.objects

Class EmfFormat

  • All Implemented Interfaces:
    Cloneable


    public final class EmfFormat
    extends EmfObject

    The EmrFormat object contains information that identifies the format of image data in an EMR_COMMENT_MULTIFORMATS record(section 2.3.3.4.3).

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfFormat() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getOffData()
      Gets or sets 32-bit unsigned integer that specifies the offset to the data from the start of the identifier field in an EMR_COMMENT_PUBLIC record (section 2.3.3.4).
      int getSignature()
      Gets or sets a 32-bit unsigned integer that specifies the format of the image data.
      int getSizeData()
      Gets or sets a 32-bit unsigned integer that specifies the size of the data in bytes
      int getVersion()
      Gets or sets a 32-bit unsigned integer that specifies the format version number.
      void setOffData(int value)
      Gets or sets 32-bit unsigned integer that specifies the offset to the data from the start of the identifier field in an EMR_COMMENT_PUBLIC record (section 2.3.3.4).
      void setSignature(int value)
      Gets or sets a 32-bit unsigned integer that specifies the format of the image data.
      void setSizeData(int value)
      Gets or sets a 32-bit unsigned integer that specifies the size of the data in bytes
      void setVersion(int value)
      Gets or sets a 32-bit unsigned integer that specifies the format version number.
    • Constructor Detail

      • EmfFormat

        public EmfFormat()
    • Method Detail

      • getSignature

        public int getSignature()

        Gets or sets a 32-bit unsigned integer that specifies the format of the image data. This value MUST be in the FormatSignature enumeration (section 2.1.14).

      • setSignature

        public void setSignature(int value)

        Gets or sets a 32-bit unsigned integer that specifies the format of the image data. This value MUST be in the FormatSignature enumeration (section 2.1.14).

      • getVersion

        public int getVersion()

        Gets or sets a 32-bit unsigned integer that specifies the format version number. If the Signature field specifies encapsulated PostScript (EPS), this value MUST be 0x00000001; otherwise, this value MUST be ignored

      • setVersion

        public void setVersion(int value)

        Gets or sets a 32-bit unsigned integer that specifies the format version number. If the Signature field specifies encapsulated PostScript (EPS), this value MUST be 0x00000001; otherwise, this value MUST be ignored

      • getSizeData

        public int getSizeData()

        Gets or sets a 32-bit unsigned integer that specifies the size of the data in bytes

      • setSizeData

        public void setSizeData(int value)

        Gets or sets a 32-bit unsigned integer that specifies the size of the data in bytes

      • getOffData

        public int getOffData()

        Gets or sets 32-bit unsigned integer that specifies the offset to the data from the start of the identifier field in an EMR_COMMENT_PUBLIC record (section 2.3.3.4). The offset MUST be 32-bit aligned.

      • setOffData

        public void setOffData(int value)

        Gets or sets 32-bit unsigned integer that specifies the offset to the data from the start of the identifier field in an EMR_COMMENT_PUBLIC record (section 2.3.3.4). The offset MUST be 32-bit aligned.