Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfUnderstandingRegion

OfficeIMO.Pdf

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

One page-segmentation region containing related lines.

Inheritance

  • object
  • PdfUnderstandingRegion

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 9 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 3

Constructors

public PdfUnderstandingRegion(IReadOnlyList<PdfUnderstandingLine> lines, double? confidence = null, IEnumerable<PdfInferenceEvidence>? evidence = null) #

Creates a segmented region from lines in local reading order.

Parameters

lines System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfUnderstandingLine> required
confidence double? = null optional
evidence System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfInferenceEvidence>? = null optional

Properties

public IReadOnlyList<PdfUnderstandingLine> Lines { get; } #

Lines in local region order.

public string Text { get; } #

Normalized region text.

public double XStart { get; } #

Left bound.

public double XEnd { get; } #

Right bound.

public double YTop { get; } #

Top baseline.

public double YBottom { get; } #

Bottom baseline.

public double Confidence { get; } #

Normalized segmentation confidence from 0 to 1.

public IReadOnlyList<PdfInferenceEvidence> Evidence { get; } #

Evidence supporting this region segmentation.