public abstract class OdImage extends VectorMultipageImage implements com.aspose.imaging_internal.fileformats.opendocument.IOdImage
The open document
Constructor and Description |
---|
OdImage(StreamContainer streamContainer)
Initializes a new instance of the
OdImage class. |
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerPixel()
Gets the image bits per pixel count.
|
Image |
getDefaultPage()
Gets the default page.
|
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.
|
void |
resize(int newWidth,
int newHeight,
ImageResizeSettings settings)
Resizes the image.
|
void |
resize(int newWidth,
int newHeight,
int resizeType)
Resizes the image.
|
void |
rotateFlip(int rotateFlipType)
Rotates, flips, or rotates and flips the image.
|
cacheData, getPageExportingAction, getPages, setPageExportingAction, setPalette
getHeightF, getSizeF, getWidthF
canLoad, canLoad, canLoad, canLoad, canSave, create, getBackgroundColor, getBounds, getBufferSizeHint, getContainer, getDefaultOptions, getFileFormat, getFileFormat, getFileFormat, getFittingRectangle, getFittingRectangle, getInterruptMonitor, getOriginalOptions, getPalette, getProgressEventHandler, getProgressEventHandlerInfo, 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(StreamContainer streamContainer)
Initializes a new instance of the OdImage
class.
streamContainer
- The stream.public Image getDefaultPage()
Gets the default page.
Value: The default page.getDefaultPage
in interface IMultipageImage
getDefaultPage
in class VectorMultipageImage
public boolean isCached()
Gets a value indicating whether object's data is cached currently and no data reading is required.
isCached
in class VectorMultipageImage
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 VectorMultipageImage
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 VectorMultipageImage
public int getHeight()
Gets the image height.
Value: The image height.getHeight
in interface IObjectWithBounds
getHeight
in class VectorMultipageImage
public int getPageCount()
Gets the page count.
Value: The page count.getPageCount
in interface IMultipageImage
getPageCount
in class VectorMultipageImage
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
public void resize(int newWidth, int newHeight, ImageResizeSettings settings)
Resizes the image.
resize
in class VectorMultipageImage
newWidth
- The new width.newHeight
- The new height.settings
- The resize settings.public void resize(int newWidth, int newHeight, int resizeType)
Resizes the image.
resize
in class VectorMultipageImage
newWidth
- The new width.newHeight
- The new height.resizeType
- The resize type.public void rotateFlip(int rotateFlipType)
Rotates, flips, or rotates and flips the image.
rotateFlip
in class VectorMultipageImage
rotateFlipType
- Type of the rotate flip.