Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfUnderstandingPageContext

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Page and option context shared by understanding stages.

Inheritance

  • object
  • PdfUnderstandingPageContext

Remarks

Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.

Usage

Explore 8 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.

Accepted by parameters 8

Methods

public void ConsumeWork(long units = 1) #

Charges comparison or traversal work and observes cancellation.

Parameters

units long = 1 optional
public void ThrowIfCancellationRequested() #

Throws when semantic reconstruction has been cancelled.

Properties

public PdfReadPage Page { get; } #

Parsed source page.

public int PageNumber { get; } #

One-based source page number.

public double Width { get; private set; } #

Page width in page user-space units.

public double Height { get; private set; } #

Page height in page user-space units.

public PdfTextLayoutOptions LayoutOptions { get; } #

Layout options supplied to the pipeline.

public int MaxTextCharactersPerPage { get; } #

Maximum decoded text characters accepted for this page.

public int MaxWordsPerPage { get; } #

Maximum word artifacts accepted for this page.

public int MaxTableCandidatesPerPage { get; internal set; } #

Maximum table candidates accepted for this page.

public int MaxImageCaptionCandidatesPerPage { get; internal set; } #

Maximum viable image-caption association edges retained before deterministic matching.

public CancellationToken CancellationToken { get; } #

Cancellation token observed by built-in and cooperative custom stages.

public long MaxWorkUnitsPerPage { get; } #

Maximum comparison and traversal work units available to this page.

public long WorkUnitsConsumed { get; } #

Work units consumed so far by semantic reconstruction for this page.

public IReadOnlyList<PdfUnderstandingTableCandidate> TableCandidates { get; internal set; } #

Table candidates available to page segmentation and later stages.

public IReadOnlyList<PdfImagePlacement> ImagePlacements { get; internal set; } #

Image placement invocations available to semantic stages in stable paint order.