VectorMultipageImage
Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.DataStreamSupporter, com.aspose.imaging.Image, com.aspose.imaging.VectorImage
All Implemented Interfaces: com.aspose.imaging.IMultipageImage
public abstract class VectorMultipageImage extends VectorImage implements IMultipageImage
The Vector multipage image
Constructors
Constructor | Description |
---|---|
VectorMultipageImage() |
Methods
Method | Description |
---|---|
isCached() | Gets a value indicating whether object’s data is cached currently and no data reading is required. |
getBitsPerPixel() | Gets the image bits per pixel count. |
getWidth() | Gets the image width. |
getHeight() | Gets the image height. |
getDefaultPage() | Gets the default page. |
getPageExportingAction() | Gets the page exporting action. |
setPageExportingAction(PageExportingAction value) | Sets the page exporting action. |
cacheData() | Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.getDataStreamContainer() (DataStreamSupporter.getDataStreamContainer). |
resize(int newWidth, int newHeight, int resizeType) | Resizes the image. |
resize(int newWidth, int newHeight, ImageResizeSettings settings) | Resizes the image. |
rotateFlip(int rotateFlipType) | Rotates, flips, or rotates and flips the image. |
setPalette(IColorPalette palette, boolean updateColors) | Sets the image palette. |
getEmbeddedImages() | Gets the embedded images. |
VectorMultipageImage()
public VectorMultipageImage()
isCached()
public boolean isCached()
Gets a value indicating whether object’s data is cached currently and no data reading is required.
Value: true
if object’s data is cached; otherwise, false
.
Returns: boolean - a value indicating whether object’s data is cached currently and no data reading is required.
getBitsPerPixel()
public int getBitsPerPixel()
Gets the image bits per pixel count.
Value: The image bits per pixel count.
Returns: int - the image bits per pixel count.
getWidth()
public int getWidth()
Gets the image width.
Value: The image width.
Returns: int - the image width.
getHeight()
public int getHeight()
Gets the image height.
Value: The image height.
Returns: int - the image height.
getDefaultPage()
public abstract Image getDefaultPage()
Gets the default page.
Value: The default page.
Returns: Image - the default page.
getPageExportingAction()
public PageExportingAction getPageExportingAction()
Gets the page exporting action. Please note that setting this method will automatically release page resources after it is executed. It will be executed just before each page is saved.
Value: The page exporting action.
Returns: PageExportingAction - the page exporting action.
setPageExportingAction(PageExportingAction value)
public void setPageExportingAction(PageExportingAction value)
Sets the page exporting action. Please note that setting this method will automatically release page resources after it is executed. It will be executed just before each page is saved.
Value: The page exporting action.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PageExportingAction | the page exporting action. |
cacheData()
public void cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.getDataStreamContainer()
(DataStreamSupporter.getDataStreamContainer).
resize(int newWidth, int newHeight, int resizeType)
public void resize(int newWidth, int newHeight, int resizeType)
Resizes the image.
Parameters:
Parameter | Type | Description |
---|---|---|
newWidth | int | The new width. |
newHeight | int | The new height. |
resizeType | int | The resize type. |
resize(int newWidth, int newHeight, ImageResizeSettings settings)
public void resize(int newWidth, int newHeight, ImageResizeSettings settings)
Resizes the image.
Parameters:
Parameter | Type | Description |
---|---|---|
newWidth | int | The new width. |
newHeight | int | The new height. |
settings | ImageResizeSettings | The resize settings. |
rotateFlip(int rotateFlipType)
public void rotateFlip(int rotateFlipType)
Rotates, flips, or rotates and flips the image.
Parameters:
Parameter | Type | Description |
---|---|---|
rotateFlipType | int | Type of the rotation and flip. |
setPalette(IColorPalette palette, boolean updateColors)
public void setPalette(IColorPalette palette, boolean updateColors)
Sets the image palette.
Parameters:
Parameter | Type | Description |
---|---|---|
palette | IColorPalette | The palette to set. |
updateColors | boolean | 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. |
getEmbeddedImages()
public EmbeddedImage[] getEmbeddedImages()
Gets the embedded images.
Returns: com.aspose.imaging.EmbeddedImage[] - Array of images