Class Metafile

  • All Implemented Interfaces:
    GenericRecord, PictureData
    Direct Known Subclasses:
    EMF, PICT, WMF

    public abstract class Metafile
    extends HSLFPictureData
    Represents a metafile picture which can be one of the following types: EMF, WMF, or PICT. A metafile is stored compressed using the ZIP deflate/inflate algorithm.
    • Method Detail

      • getImageDimension

        public java.awt.Dimension getImageDimension()
        Description copied from interface: PictureData
        Return the original image dimensions in points (for formats supported by BufferedImage). Will return a Dimension with a default width of 200x200 if the format unsupported.