public class DjvuPage extends RasterCachedImage
Djvu page class
RasterCachedImage.RotateTestMode
Modifier and Type | Field and Description |
---|---|
static com.aspose.ms.lang.Event<OnPageExportedAction> |
PageExportedAction |
com.aspose.ms.lang.Event<com.aspose.ms.System.ComponentModel.PropertyChangedEventHandler> |
PropertyChanged |
Constructor and Description |
---|
DjvuPage()
Initializes a new instance of the
DjvuPage class. |
Modifier and Type | Method and Description |
---|---|
DjvuRaster |
extractThumbnailImage()
Extracts the thumbnail image from the Djvu page.
|
DjvuRaster |
getBackgroundImage()
Gets the background image.
|
int |
getBitsPerPixel()
Gets the image bits per pixel count.
|
DjvuRaster |
getForegroundImage()
Gets the foreground image for the page
|
DjvuRaster |
getForegroundImage(int subsample)
Gets the foreground image for the page
|
DirmComponent |
getHeader()
Gets the header.
|
int |
getHeight()
Gets the height of the page
|
DjvuRaster |
getImage()
Gets the image.
|
int |
getPageNumber()
Gets the page number.
|
DjvuImage |
getParentImage()
Gets the parent image the page belongs to
|
String |
getTextForLocation(Rectangle rect)
Gets the text for the rectangle location
|
DjvuRaster |
getTextImage()
Gets the text image.
|
DjvuRaster |
getTextImage(int subsample)
Gets the text image.
|
DjvuRaster |
getThumbnailImage()
Gets or sets the thumbnail image for the page
|
int |
getWidth()
Gets the width of the page
|
boolean |
isColor()
Gets a value indicating whether this instance is color.
|
void |
setThumbnailImage(DjvuRaster value)
Gets or sets the thumbnail image for the page
|
adjustBrightness, adjustContrast, adjustGamma, adjustGamma, binarizeBradley, binarizeFixed, binarizeOtsu, cacheData, crop, dither, getMaxAllowedAllocationForPartialRotateSave, getRotateMode, grayscale, isCached, resize, resize, rotate, rotateFlip, setMaxAllowedAllocationForPartialRotateSave, setRotateMode
crop, dither, filter, getArgb32Pixel, getDefaultArgb32Pixels, getDefaultPixels, getDefaultRawData, getDefaultRawData, getHorizontalResolution, getImageOpacity, getModifyDate, getPixel, getPremultiplyComponents, getRawCustomColorConverter, getRawDataFormat, getRawDataSettings, getRawFallbackIndex, getRawIndexedColorConverter, getRawLineSize, getTransparentColor, getUpdateXmpData, getUseRawData, getVerticalResolution, getXmpData, hasAlpha, hasTransparentColor, isRawDataAvailable, loadArgb32Pixels, loadCmyk32Pixels, loadCmykPixels, loadPartialArgb32Pixels, loadPartialPixels, loadPixels, loadRawData, loadRawData, readArgb32ScanLine, readScanLine, replaceColor, replaceColor, replaceNonTransparentColors, replaceNonTransparentColors, rotate, saveArgb32Pixels, saveCmyk32Pixels, saveCmykPixels, savePixels, saveRawData, setArgb32Pixel, setHorizontalResolution, setPalette, setPixel, setPremultiplyComponents, setRawCustomColorConverter, setRawFallbackIndex, setRawIndexedColorConverter, setResolution, setTransparentColor, setTransparentColor, setUpdateXmpData, setUseRawData, setVerticalResolution, setXmpData, toBitmap, writeArgb32ScanLine, writeScanLine
canLoad, canLoad, canLoad, canLoad, canSave, create, getBackgroundColor, getBounds, getContainer, getDefaultOptions, getFileFormat, getFileFormat, getFileFormat, getFittingRectangle, getFittingRectangle, getInterruptMonitor, getOriginalOptions, getPalette, getProportionalHeight, getProportionalWidth, getSize, hasBackgroundColor, isAutoAdjustPalette, load, load, load, load, load, load, resize, resizeHeightProportionally, resizeHeightProportionally, resizeHeightProportionally, resizeWidthProportionally, resizeWidthProportionally, resizeWidthProportionally, save, save, save, save, save, save, save, setAutoAdjustPalette, setBackgroundColor, setBackgroundColor, setInterruptMonitor, setPalette
getDataStreamContainer, save, save, save, save
close, dispose, getDisposed
public static final com.aspose.ms.lang.Event<OnPageExportedAction> PageExportedAction
public final com.aspose.ms.lang.Event<com.aspose.ms.System.ComponentModel.PropertyChangedEventHandler> PropertyChanged
public int getBitsPerPixel()
Gets the image bits per pixel count.
Value: The image bits per pixel count.getBitsPerPixel
in class Image
public DjvuImage getParentImage()
Gets the parent image the page belongs to
Value: The document.public int getWidth()
Gets the width of the page
Value: The width.getWidth
in interface IObjectWithBounds
getWidth
in class Image
public int getHeight()
Gets the height of the page
Value: The height.getHeight
in interface IObjectWithBounds
getHeight
in class Image
public DirmComponent getHeader()
Gets the header.
Value: The header.public DjvuRaster getImage()
Gets the image.
Value: The image.public DjvuRaster getThumbnailImage()
Gets or sets the thumbnail image for the page
Value: The thumbnail image.public void setThumbnailImage(DjvuRaster value)
Gets or sets the thumbnail image for the page
Value: The thumbnail image.public int getPageNumber()
Gets the page number.
Value: The page number.public boolean isColor()
Gets a value indicating whether this instance is color.
Value:true
if this instance is color; otherwise, false
.public String getTextForLocation(Rectangle rect)
Gets the text for the rectangle location
rect
- The location rect.public DjvuRaster getForegroundImage()
Gets the foreground image for the page
public DjvuRaster getForegroundImage(int subsample)
Gets the foreground image for the page
subsample
- The subsample.public DjvuRaster getTextImage()
Gets the text image.
public DjvuRaster getTextImage(int subsample)
Gets the text image.
subsample
- The subsample.public DjvuRaster getBackgroundImage()
Gets the background image.
public DjvuRaster extractThumbnailImage()
Extracts the thumbnail image from the Djvu page.
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.