Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

DjVuPage

OfficeIMO.DjVu

Namespace
OfficeIMO.DjVu
Assembly
OfficeIMO.DjVu
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

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

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 required
public DjVuTextResult GetText(CancellationToken cancellationToken = default) #

Returns existing stored text and geometry. Does not run OCR.

Parameters

cancellationToken System.Threading.CancellationToken = default optional
public 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 optional
cancellationToken System.Threading.CancellationToken = default optional
public 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 optional
renderOptions OfficeIMO.DjVu.DjVuRenderOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

OfficeImageExportResult

Properties

public int Number { get; } #

One-based position in the document.

public string Id { get; } #

Exact source component identity.

public string Title { get; } #

Display title stored in the directory.

public int Width { get; } #

Unrotated native pixel width.

public int Height { get; } #

Unrotated native pixel height.

public int Dpi { get; } #

Declared page resolution in dots per inch, normalized to the format's valid range.

public double Gamma { get; } #

Declared image gamma.

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.