Packages

 

com.aspose.imaging.fileformats.djvu

Class DjvuPage

    • Field Detail

      • PageExportedAction

        public static final com.aspose.ms.lang.Event<OnPageExportedAction> PageExportedAction
      • PropertyChanged

        public final com.aspose.ms.lang.Event<com.aspose.ms.System.ComponentModel.PropertyChangedEventHandler> PropertyChanged
    • Constructor Detail

      • DjvuPage

        public DjvuPage()

        Initializes a new instance of the DjvuPage class.

    • Method Detail

      • 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.
      • getParentImage

        public DjvuImage getParentImage()

        Gets the parent image the page belongs to

        Value: The document.
      • getWidth

        public int getWidth()

        Gets the width of the page

        Value: The width.
        Specified by:
        getWidth in interface IObjectWithBounds
        Specified by:
        getWidth in class Image
        Returns:
        The image width.
      • getHeight

        public int getHeight()

        Gets the height of the page

        Value: The height.
        Specified by:
        getHeight in interface IObjectWithBounds
        Specified by:
        getHeight in class Image
        Returns:
        The image height.
      • getHeader

        public DirmComponent getHeader()

        Gets the header.

        Value: The header.
      • getImage

        public DjvuRaster getImage()

        Gets the image.

        Value: The image.
      • getThumbnailImage

        public DjvuRaster getThumbnailImage()

        Gets or sets the thumbnail image for the page

        Value: The thumbnail image.
      • setThumbnailImage

        public void setThumbnailImage(DjvuRaster value)

        Gets or sets the thumbnail image for the page

        Value: The thumbnail image.
      • getPageNumber

        public int getPageNumber()

        Gets the page number.

        Value: The page number.
      • isColor

        public boolean isColor()

        Gets a value indicating whether this instance is color.

        Value: true if this instance is color; otherwise, false.
      • getTextForLocation

        public String getTextForLocation(Rectangle rect)

        Gets the text for the rectangle location

        Parameters:
        rect - The location rect.
        Returns:
        Text found on location
      • getForegroundImage

        public DjvuRaster getForegroundImage()

        Gets the foreground image for the page

        Returns:
        Bitmap image
      • getForegroundImage

        public DjvuRaster getForegroundImage(int subsample)

        Gets the foreground image for the page

        Parameters:
        subsample - The subsample.
        Returns:
        Bitmap image
      • getTextImage

        public DjvuRaster getTextImage()

        Gets the text image.

        Returns:
        The bitmap
      • getTextImage

        public DjvuRaster getTextImage(int subsample)

        Gets the text image.

        Parameters:
        subsample - The subsample.
        Returns:
        The bitmap
      • getBackgroundImage

        public DjvuRaster getBackgroundImage()

        Gets the background image.

        Returns:
        The bitmap
      • extractThumbnailImage

        public DjvuRaster extractThumbnailImage()

        Extracts the thumbnail image from the Djvu page.

        Returns:
        The Djvu raster image.