Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfLogicalHeading

OfficeIMO.Pdf

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

Heuristic heading line inferred from text size and geometry.

Inheritance

  • object
  • PdfLogicalHeading

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

Properties

public int PageNumber { get; } #

One-based source page number.

public int Level { get; private set; } #

Best-effort heading level, where 1 is the largest heading tier.

public string Text { get; } #

Heading text.

public double FontSize { get; } #

Representative font size in page user-space units.

public PdfLogicalTextBlock Line { get; } #

Line-level text block that produced the heading.

public double Confidence { get; } #

Normalized heading-classification confidence.

public IReadOnlyList<PdfInferenceEvidence> Evidence { get; } #

Evidence supporting the heading classification.

public IReadOnlyList<PdfLogicalTextBlock> Lines { get; } #

Source lines of the heading in reading order: PdfLogicalHeading.Line followed by the lines of a heading that wraps (a long title, or one set beside a logo).