public class DjvuPage
extends com.aspose.imaging.RasterCachedImage
Djvu page class
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. |
DjvuPage(int pageNumber,
DjvuImage parentImage,
DirmComponent header,
com.aspose.imaging_internal.fileformats.djvu.datachunks.TH44Chunk thumbnail,
com.aspose.imaging_internal.fileformats.djvu.datachunks.DjviChunk[] includedItems,
com.aspose.imaging_internal.fileformats.djvu.datachunks.FormChunk form)
Initializes a new instance of the
DjvuPage class. |
DjvuPage(int pageNumber,
DjvuImage parentImage,
DirmComponent header,
com.aspose.imaging_internal.fileformats.djvu.datachunks.TH44Chunk thumbnail,
com.aspose.imaging_internal.fileformats.djvu.datachunks.DjviChunk[] includedItems,
com.aspose.imaging_internal.fileformats.djvu.datachunks.FormChunk form,
int subsample)
Initializes a new instance of the
DjvuPage class. |
Modifier and Type | Method and Description |
---|---|
DjvuRaster |
extractThumbnailImage()
Extracts the thumbnail image.
|
DjvuRaster |
getBackgroundImage()
Gets the background image with subsample = 1.
|
DjvuRaster |
getBackgroundImage(int subsample)
Gets the background image.
|
int |
getBitsPerPixel()
Gets the image bits per pixel count.
|
DjvuRaster |
getForegroundImage()
Gets the foreground image for the page with subsample == 1
|
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.
|
com.aspose.imaging_internal.fileformats.djvu.datachunks.InfoChunk |
getInfo_internalized()
Gets the info chunk for the page
|
com.aspose.imaging_internal.fileformats.djvu.graphics.Map |
getMap_internalized(com.aspose.imaging_internal.fileformats.djvu.graphics.Rectangle segment,
int subsample,
com.aspose.imaging_internal.fileformats.djvu.graphics.Map retval)
Gets the map.
|
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 with subsample equal 1.
|
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.
|
static void |
pageExportedActionReached_internalized(DjvuPage page)
Pages the exported action reached.
|
void |
setThumbnailImage(DjvuRaster value)
Gets or sets the thumbnail image for the page
|
adjustBrightness, adjustContrast, adjustGamma, adjustGamma, beginResize_internalized, binarizeBradley, binarizeFixed, binarizeOtsu, cacheData, crop, dither, getFormatSpecificPalette_internalized, grayscale, isCached, resize, resize, rotate, rotateFlip, setFormatSpecificPalette_internalized
crop, dither, filter, getArgb32Pixel, getDefaultArgb32Pixels, getDefaultPixels, getDefaultRawData, getDefaultRawData, getHorizontalResolution, getPixel, getRawCustomColorConverter, getRawDataFormat, getRawDataSettings, getRawFallbackIndex, getRawIndexedColorConverter, getRawLineSize, getTransparentColor, getVerticalResolution, getXmpData, hasAlpha, hasTransparentColor, isRawDataAvailable, loadArgb32Pixels, loadCmykPixels, loadPartialArgb32Pixels, loadPartialPixels, loadPixels, loadRawData, readScanLine, rotate, saveArgb32Pixels, saveCmykPixels, savePixels, saveRawData, setArgb32Pixel, setHorizontalResolution, setPalette, setPixel, setRawCustomColorConverter, setRawFallbackIndex, setRawIndexedColorConverter, setResolution, setTransparentColor, setTransparentColor, setVerticalResolution, setXmpData, writeScanLine
canLoad, canLoad, canLoad, canLoad, canLoadInternal_internalized, canLoadInternal_internalized, canSave, create, getBackgroundColor, getBounds, getContainer, getFileFormat, getFileFormat, getFileFormatInternal_internalized, getFittingRectangle, getFittingRectangle, getPalette, getProportionalHeight, getProportionalWidth, getSize, getVentureLicense_internalized, hasBackgroundColor, load, load, load, load, loadInternal_internalized, loadInternal_internalized, resize, resizeHeightProportionally, resizeHeightProportionally, resizeHeightProportionally, resizeWidthProportionally, resizeWidthProportionally, resizeWidthProportionally, save_internalized, save, save, save, save, save, setBackgroundColor, setBackgroundColor, setContainer_internalized, setPalette, setVentureLicense_internalized
getDataStreamContainer, save_internalized, save, save, save, setDataStreamContainer
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 DjvuPage()
Initializes a new instance of the DjvuPage
class.
public DjvuPage(int pageNumber, DjvuImage parentImage, DirmComponent header, com.aspose.imaging_internal.fileformats.djvu.datachunks.TH44Chunk thumbnail, com.aspose.imaging_internal.fileformats.djvu.datachunks.DjviChunk[] includedItems, com.aspose.imaging_internal.fileformats.djvu.datachunks.FormChunk form)
Initializes a new instance of the DjvuPage
class.
pageNumber
- The page number.parentImage
- The parent image.header
- The header.thumbnail
- The thumbnail.includedItems
- The included items.form
- The form.public DjvuPage(int pageNumber, DjvuImage parentImage, DirmComponent header, com.aspose.imaging_internal.fileformats.djvu.datachunks.TH44Chunk thumbnail, com.aspose.imaging_internal.fileformats.djvu.datachunks.DjviChunk[] includedItems, com.aspose.imaging_internal.fileformats.djvu.datachunks.FormChunk form, int subsample)
Initializes a new instance of the DjvuPage
class.
pageNumber
- The page number.parentImage
- The parent image.header
- The header.thumbnail
- The thumbnail.includedItems
- The included items.form
- The form.subsample
- The subsample.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 com.aspose.imaging_internal.fileformats.djvu.datachunks.InfoChunk getInfo_internalized()
Gets the info chunk for the page
Value: The information.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 with subsample == 1
public DjvuRaster getForegroundImage(int subsample)
Gets the foreground image for the page
subsample
- The subsample.public DjvuRaster getTextImage()
Gets the text image with subsample equal 1.
public DjvuRaster getTextImage(int subsample)
Gets the text image.
subsample
- The subsample.public DjvuRaster getBackgroundImage()
Gets the background image with subsample = 1.
public DjvuRaster getBackgroundImage(int subsample)
Gets the background image.
subsample
- The subsample.public DjvuRaster extractThumbnailImage()
Extracts the thumbnail image.
public static void pageExportedActionReached_internalized(DjvuPage page)
Pages the exported action reached.
page
- The page.public com.aspose.imaging_internal.fileformats.djvu.graphics.Map getMap_internalized(com.aspose.imaging_internal.fileformats.djvu.graphics.Rectangle segment, int subsample, com.aspose.imaging_internal.fileformats.djvu.graphics.Map retval)
Gets the map.
segment
- The segment.subsample
- The subsample.retval
- The retval.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.