Packages

 

com.aspose.imaging

Interfaces

Classes

Exceptions

com.aspose.imaging

Class VectorMultipageImage

    • Constructor Detail

      • VectorMultipageImage

        public VectorMultipageImage()
    • Method Detail

      • getPageCount

        public abstract int getPageCount()

        Gets the page count.

        Value: The page count.
        Specified by:
        getPageCount in interface IMultipageImage
        Returns:
        the page count.
      • getPages

        public abstract Image[] getPages()

        Gets the pages.

        Value: The pages.
        Specified by:
        getPages in interface IMultipageImage
        Returns:
        the pages.
      • getDefaultPage

        public abstract Image getDefaultPage()

        Gets the default page.

        Value: The default page. <autogeneratedoc></autogeneratedoc>
        Specified by:
        getDefaultPage in interface IMultipageImage
        Returns:
        the default page.
      • 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.
        Specified by:
        isCached in class DataStreamSupporter
        Returns:
        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.
        Specified by:
        getBitsPerPixel in class Image
        Returns:
        the image bits per pixel count.
      • 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.
        Specified by:
        getPageExportingAction in interface IMultipageImage
        Returns:
        the page exporting action.
      • setPageExportingAction

        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.
        Specified by:
        setPageExportingAction in interface IMultipageImage
        Parameters:
        value - the page exporting action.
      • resize

        public void resize(int newWidth,
                           int newHeight,
                           int resizeType)

        Resizes the image.

        Specified by:
        resize in class Image
        Parameters:
        newWidth - The new width.
        newHeight - The new height.
        resizeType - The resize type.
      • resize

        public void resize(int newWidth,
                           int newHeight,
                           ImageResizeSettings settings)

        Resizes the image.

        Specified by:
        resize in class Image
        Parameters:
        newWidth - The new width.
        newHeight - The new height.
        settings - The resize settings.
      • rotateFlip

        public void rotateFlip(int rotateFlipType)

        Rotates, flips, or rotates and flips the image.

        Specified by:
        rotateFlip in class Image
        Parameters:
        rotateFlipType - Type of the rotate flip.
      • setPalette

        public void setPalette(IColorPalette palette,
                               boolean updateColors)

        Sets the image palette.

        Specified by:
        setPalette in class Image
        Parameters:
        palette - 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.