public class CdrImagePage extends VectorImage implements ICdrImage
The Cdr image page
| Modifier and Type | Method and Description |
|---|---|
void |
cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying
P:com.aspose.imaging.dataStreamSupporter.dataStreamContainer. |
int |
getBitsPerPixel()
Gets the image bits per pixel count.
|
CdrDocument |
getCdrDocument()
Gets the CDR document.
|
long |
getFileFormat()
Gets a value of file format
|
int |
getHeight()
Gets the image height.
|
int |
getPageNumber()
Gets the page number.
|
CdrImage |
getParentImage()
Gets the parent image.
|
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.
|
void |
setPalette(IColorPalette palette,
boolean updateColors)
Sets the image palette.
|
getEmbeddedImages, getHeightF, getSizeF, getWidthFcanLoad, canLoad, canLoad, canLoad, canSave, create, create, create, getBackgroundColor, getBounds, getBufferSizeHint, getContainer, getDefaultOptions, getFileFormat, getFileFormat, getFittingRectangle, getFittingRectangle, getInterruptMonitor, getOriginalOptions, getPalette, getProgressEventHandler, getProgressEventHandlerInfo, getProportionalHeight, getProportionalWidth, getSize, hasBackgroundColor, isAutoAdjustPalette, isUsePalette, load, load, load, load, load, load, resize, resizeHeightProportionally, resizeHeightProportionally, resizeHeightProportionally, resizeWidthProportionally, resizeWidthProportionally, resizeWidthProportionally, save, save, save, save, save, save, save, save, setAutoAdjustPalette, setBackgroundColor, setBackgroundColor, setBufferSizeHint, setInterruptMonitor, setPalettegetDataStreamContainer, save, save, saveclose, dispose, getDisposedpublic final CdrImage getParentImage()
Gets the parent image.
Value: The parent image.public final int getPageNumber()
Gets the page number.
Value: The page number.public boolean isCached()
Gets a value indicating whether object's data is cached currently and no data reading is required.
isCached in class DataStreamSupporterpublic int getBitsPerPixel()
Gets the image bits per pixel count.
getBitsPerPixel in class Imagecom.aspose.ms.System.NotImplementedException - Not implementedpublic int getWidth()
Gets the image width.
getWidth in interface IObjectWithBoundsgetWidth in class VectorImagepublic int getHeight()
Gets the image height.
getHeight in interface IObjectWithBoundsgetHeight in class VectorImagepublic long getFileFormat()
Gets a value of file format
getFileFormat in class ImageFileFormatpublic final CdrDocument getCdrDocument()
Gets the CDR document.
getCdrDocument in interface ICdrImagepublic void cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying P:com.aspose.imaging.dataStreamSupporter.dataStreamContainer.
cacheData in class DataStreamSupporterpublic void resize(int newWidth,
int newHeight,
int resizeType)
Resizes the image.
public void resize(int newWidth,
int newHeight,
ImageResizeSettings settings)
Resizes the image.
public void rotateFlip(int rotateFlipType)
Rotates, flips, or rotates and flips the image.
rotateFlip in class ImagerotateFlipType - Type of rotation and flipping.com.aspose.ms.System.NotImplementedException - Not implementedpublic void setPalette(IColorPalette palette, boolean updateColors)
Sets the image palette.
setPalette in class Imagepalette - The palette to set.updateColors - if set to true colors will be updated according to the new palette; otherwise color indexes remain unchanged. Note that unchanged indexes may crash the image on loading if some indexes have no corresponding palette entries.com.aspose.ms.System.NotImplementedException - Not implementedCopyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.