public class OdgImage extends MultiPageImage implements com.aspose.imaging_internal.fileformats.opendocument.IOdgImage
The Open Document Graphic
Constructor and Description |
---|
OdgImage(InputStream stream)
Initializes a new instance of the
OdgImage class. |
OdgImage(com.aspose.ms.System.IO.Stream stream) |
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerPixel()
Gets the image bits per pixel count.
|
long |
getFileFormat()
Gets a value of file format
|
int |
getHeight()
Gets the image height.
|
OdMetadata |
getMetadata()
Gets the metadata.
|
int |
getPageCount()
Gets the page count.
|
Image[] |
getPages()
Gets or sets the pages.
|
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, resize, resize, rotateFlip, setPalette
canLoad, canLoad, canLoad, canLoad, canSave, create, getBackgroundColor, getBounds, getContainer, getDefaultOptions, 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, setInterruptMonitor, setPalette
getDataStreamContainer, save, save, save, save
close, dispose, getDisposed
public OdgImage(InputStream stream)
Initializes a new instance of the OdgImage
class.
stream
- The stream.public OdgImage(com.aspose.ms.System.IO.Stream 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
true
if object's data is cached; otherwise, false
.com.aspose.ms.System.NotImplementedException
- The not implemented this methodpublic int getBitsPerPixel()
Gets the image bits per pixel count.
getBitsPerPixel
in class MultiPageImage
com.aspose.ms.System.NotImplementedException
- The not implemented this propertypublic int getWidth()
Gets the image width.
getWidth
in interface IObjectWithBounds
getWidth
in class MultiPageImage
public int getHeight()
Gets the image height.
getHeight
in interface IObjectWithBounds
getHeight
in class MultiPageImage
public int getPageCount()
Gets the page count.
getPageCount
in class MultiPageImage
public Image[] getPages()
Gets or sets the pages.
getPages
in class MultiPageImage
public OdMetadata getMetadata()
Gets the metadata.
public OdObject[] getRecords()
Gets the records.
getRecords
in interface com.aspose.imaging_internal.fileformats.opendocument.IOdgImage
public long getFileFormat()
Gets a value of file format
getFileFormat
in class Image
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.