Packages

 

com.aspose.imaging.fileformats.opendocument

Class OdImage

  • All Implemented Interfaces:
    IObjectWithBounds, com.aspose.imaging_internal.fileformats.opendocument.IOdImage, com.aspose.imaging_internal.progressmanagement.IProgressEventHandler, com.aspose.imaging_internal.progressmanagement.IProgressInformer, com.aspose.ms.System.IDisposable, Closeable, AutoCloseable
    Direct Known Subclasses:
    OdgImage, OtgImage


    public abstract class OdImage
    extends MultiPageImage
    implements com.aspose.imaging_internal.fileformats.opendocument.IOdImage

    The open document

    • Constructor Detail

      • OdImage

        public OdImage(InputStream stream)

        Initializes a new instance of the OdImage class.

        Parameters:
        stream - The stream.
    • Method Detail

      • isCached

        public boolean isCached()

        Gets a value indicating whether object's data is cached currently and no data reading is required.

        Overrides:
        isCached in class MultiPageImage
        Returns:
        a value indicating whether object's data is cached currently and no data reading is required.
        Throws:
        com.aspose.ms.System.NotImplementedException - The not implemented this method Value: true if object's data is cached; otherwise, false.
      • getBitsPerPixel

        public int getBitsPerPixel()

        Gets the image bits per pixel count.

        Overrides:
        getBitsPerPixel in class MultiPageImage
        Returns:
        the image bits per pixel count.
        Throws:
        com.aspose.ms.System.NotImplementedException - The not implemented this property Value: The image bits per pixel count.
      • getPageCount

        public int getPageCount()

        Gets the page count.

        Value: The page count.
        Specified by:
        getPageCount in class MultiPageImage
        Returns:
        the page count.
      • getMetadata

        public final OdMetadata getMetadata()

        Gets the metadata.

        Value: The metadata.
        Returns:
        the metadata.
      • getRecords

        public final OdObject[] getRecords()

        Gets the records.

        Value: The records.
        Specified by:
        getRecords in interface com.aspose.imaging_internal.fileformats.opendocument.IOdImage
        Returns:
        the records.