public abstract class VectorMultipageImage extends VectorImage implements IMultipageImage
The Vector multipage image
VectorImage,
IMultipageImage| Constructor and Description |
|---|
VectorMultipageImage() |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying
DataStreamSupporter.getDataStreamContainer()(DataStreamSupporter.getDataStreamContainer()). |
void |
crop(Rectangle rectangle)
Crops the specified rectangle.
|
int |
getBitsPerPixel()
Gets the image bits per pixel count.
|
abstract Image |
getDefaultPage()
Deprecated.
Please use Pages[n]
|
EmbeddedImage[] |
getEmbeddedImages()
Gets the embedded images.
|
int |
getHeight()
Gets the image height.
|
PageExportingAction |
getPageExportingAction()
Gets the page exporting action.
|
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 |
removeBackground()
Removes the background.
|
void |
removeBackground(RemoveBackgroundSettings settings)
Removes the background.
|
void |
resize(int newWidth,
int newHeight,
ImageResizeSettings settings)
Resizes the image.
|
void |
resize(int newWidth,
int newHeight,
int resizeType)
Resizes the image.
|
void |
rotate(float angle)
Rotate image around the center.
|
void |
rotateFlip(int rotateFlipType)
Rotates, flips, or rotates and flips the image.
|
void |
setPageExportingAction(PageExportingAction value)
Sets the page exporting action.
|
void |
setPalette(IColorPalette palette,
boolean updateColors)
Sets the image palette.
|
getDefaultOptions, getHeightF, getSizeF, getWidthFcanLoad, canLoad, canLoad, canLoad, canSave, create, create, create, create, create, create, crop, getBackgroundColor, getBounds, getBufferSizeHint, getContainer, getFileFormat, getFileFormat, getFileFormat, getFittingRectangle, getFittingRectangle, getInterruptMonitor, getIProgressEventHandler, getOriginalOptions, getPalette, getProgressEventHandlerInfo, getProportionalHeight, getProportionalWidth, getSerializedStream, getSize, hasBackgroundColor, isAutoAdjustPalette, isUsePalette, load, load, load, load, load, load, removeMetadata, 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, getDisposedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPageCount, getPagespublic 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.isCached in class DataStreamSupporterpublic int getBitsPerPixel()
Gets the image bits per pixel count.
Value: The image bits per pixel count.getBitsPerPixel in class Imagepublic int getWidth()
Gets the image width.
Value: The image width.getWidth in interface IObjectWithBoundsgetWidth in class VectorImagepublic int getHeight()
Gets the image height.
Value: The image height.getHeight in interface IObjectWithBoundsgetHeight in class VectorImage@Deprecated public abstract Image getDefaultPage()
Gets the default page.
Value: The default page.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.getPageExportingAction in interface IMultipageImagepublic 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.setPageExportingAction in interface IMultipageImagevalue - the page exporting action.public void cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying
DataStreamSupporter.getDataStreamContainer()(DataStreamSupporter.getDataStreamContainer()).
cacheData in class DataStreamSupporterpublic void crop(Rectangle rectangle)
Crops the specified rectangle.
crop in class VectorImagerectangle - The rectangle.public void resize(int newWidth,
int newHeight,
int resizeType)
Resizes the image.
resize in class VectorImagenewWidth - The new width.newHeight - The new height.resizeType - The resize type.public void rotate(float angle)
Rotate image around the center.
rotate in class VectorImageangle - The rotate angle in degrees. Positive values will rotate clockwise.public void resize(int newWidth,
int newHeight,
ImageResizeSettings settings)
Resizes the image.
resize in class VectorImagenewWidth - The new width.newHeight - The new height.settings - The resize settings.public void rotateFlip(int rotateFlipType)
Rotates, flips, or rotates and flips the image.
rotateFlip in class VectorImagerotateFlipType - Type of the rotation and flip.RotateFlipTypepublic void removeBackground(RemoveBackgroundSettings settings)
Removes the background.
removeBackground in class VectorImagesettings - The settings.public void removeBackground()
Removes the background.
removeBackground in class VectorImagepublic 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.public EmbeddedImage[] getEmbeddedImages()
Gets the embedded images.
getEmbeddedImages in class VectorImageCopyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.