Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OcrTextSpan

OfficeIMO.Ocr

Namespace
OfficeIMO.Ocr
Assembly
OfficeIMO.Ocr
Source revision
063fe3ee9839 with working tree changes
Modifiers
sealed

Detailed recognized line, word, or character with optional confidence and geometry.

Inheritance

  • object
  • OcrTextSpan

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

Constructors

public OcrTextSpan() #

Properties

public int Sequence { get; set; } #

Zero-based sequence within the provider's emitted reading order.

public OcrTextSpanLevel Level { get; set; } #

Span granularity.

public string Text { get; set; } #

Recognized text for this span.

public double? Confidence { get; set; } #

Normalized confidence from zero through one, when available.

public string? Language { get; set; } #

Detected or requested language identifier, when available.

public int? PageNumber { get; set; } #

One-based source page within a multi-page payload, when applicable.

public string? BlockId { get; set; } #

Provider-stable block identifier, when exposed.

public string? ParagraphId { get; set; } #

Provider-stable paragraph identifier, when exposed.

public string? LineId { get; set; } #

Provider-stable line identifier, when exposed.

public OcrRegion? Region { get; set; } #

Bounding region in OcrTextSpan.CoordinateUnit, when available.

public OcrCoordinateUnit CoordinateUnit { get; set; } #

Coordinate unit used by OcrTextSpan.Region.