DjVuPage
OfficeIMO.DjVu
A stable page in an owned DjVu document.
Inheritance
- object
- DjVuPage
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property DjVuDocument.Pages
Methods
public DjVuRectangle GetDisplayBounds(DjVuRectangle sourceBounds) #Maps unrotated bottom-left source bounds to rotated top-left display bounds, in native pixels.
Parameters
- sourceBounds OfficeIMO.DjVu.DjVuRectangle
Returns
DjVuRectanglepublic DjVuTextResult GetText(CancellationToken cancellationToken = default) #Returns existing stored text and geometry. Does not run OCR.
Parameters
- cancellationToken System.Threading.CancellationToken = default
Returns
DjVuTextResultpublic DjVuRenderResult Render(DjVuRenderOptions? options = null, CancellationToken cancellationToken = default) #Decodes and composes this page in process, with bounded output and codec buffers.
Parameters
- options OfficeIMO.DjVu.DjVuRenderOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
DjVuRenderResultpublic OfficeImageExportResult ToImage(OfficeImageExportOptions? options = null, DjVuRenderOptions? renderOptions = null, CancellationToken cancellationToken = default) #Encodes the native page raster through shared image limits and diagnostics. SVG embeds the raster; it does not trace vectors.
Parameters
- options OfficeIMO.Drawing.OfficeImageExportOptions? = null
- renderOptions OfficeIMO.DjVu.DjVuRenderOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
OfficeImageExportResultInherited Methods
Properties
public int Dpi { get; } #Declared page resolution in dots per inch, normalized to the format's valid range.
public int Rotation { get; } #Clockwise display rotation in degrees: 0, 90, 180 or 270.
public int DisplayWidth { get; } #Native pixel width after the declared display rotation.
public int DisplayHeight { get; } #Native pixel height after the declared display rotation.