Class EMF

  • All Implemented Interfaces:
    PictureData

    public final class EMF
    extends Metafile
    Represents EMF (Windows Enhanced Metafile) picture data.
    • Constructor Detail

      • EMF

        public EMF()
    • Method Detail

      • getData

        public byte[] getData()
        Description copied from interface: PictureData
        Returns the binary data of this Picture
        Returns:
        picture data
      • setData

        public void setData​(byte[] data)
                     throws java.io.IOException
        Description copied from interface: PictureData
        Sets the binary picture data
        Parameters:
        data - picture data
        Throws:
        java.io.IOException
      • getSignature

        public int getSignature()
        EMF signature is 0x3D40 or 0x3D50
        Returns:
        EMF signature (0x3D40 or 0x3D50)
      • setSignature

        public void setSignature​(int signature)
        Sets the EMF signature - either 0x3D40 or 0x3D50
        Specified by:
        setSignature in class HSLFPictureData