public abstract class OdImage extends MultiPageImage implements com.aspose.imaging_internal.fileformats.opendocument.IOdImage
The open document
Constructor and Description |
---|
OdImage(InputStream stream)
Initializes a new instance of the
OdImage class. |
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerPixel()
Gets the image bits per pixel count.
|
int |
getHeight()
Gets the image height.
|
OdMetadata |
getMetadata()
Gets the metadata.
|
int |
getPageCount()
Gets the page count.
|
OdObject[] |
getRecords()
Gets the records.
|
int |
getWidth()
Gets the image width.
|
boolean |
isCached()
Gets a value indicating whether object's data is cached currently and no data reading is required.
|
cacheData, getPages, resize, resize, rotateFlip, setPalette
canLoad, canLoad, canLoad, canLoad, canSave, create, getBackgroundColor, getBounds, getBufferSizeHint, getContainer, getDefaultOptions, getFileFormat, getFileFormat, getFileFormat, getFittingRectangle, getFittingRectangle, getInterruptMonitor, getOriginalOptions, getPalette, getProportionalHeight, getProportionalWidth, getSize, hasBackgroundColor, isAutoAdjustPalette, load, load, load, load, load, load, resize, resizeHeightProportionally, resizeHeightProportionally, resizeHeightProportionally, resizeWidthProportionally, resizeWidthProportionally, resizeWidthProportionally, save, save, save, save, save, save, save, setAutoAdjustPalette, setBackgroundColor, setBackgroundColor, setBufferSizeHint, setInterruptMonitor, setPalette
getDataStreamContainer, save, save, save, save
close, dispose, getDisposed
public OdImage(InputStream stream)
Initializes a new instance of the OdImage
class.
stream
- The stream.public boolean isCached()
Gets a value indicating whether object's data is cached currently and no data reading is required.
isCached
in class MultiPageImage
com.aspose.ms.System.NotImplementedException
- The not implemented this method
Value:
true
if object's data is cached; otherwise, false
.public int getBitsPerPixel()
Gets the image bits per pixel count.
getBitsPerPixel
in class MultiPageImage
com.aspose.ms.System.NotImplementedException
- The not implemented this property
Value:
The image bits per pixel count.public int getWidth()
Gets the image width.
Value: The image width.getWidth
in interface IObjectWithBounds
getWidth
in class MultiPageImage
public int getHeight()
Gets the image height.
Value: The image height.getHeight
in interface IObjectWithBounds
getHeight
in class MultiPageImage
public int getPageCount()
Gets the page count.
Value: The page count.getPageCount
in class MultiPageImage
public final OdMetadata getMetadata()
Gets the metadata.
Value: The metadata.public final OdObject[] getRecords()
Gets the records.
Value: The records.getRecords
in interface com.aspose.imaging_internal.fileformats.opendocument.IOdImage
Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.