API Reference

Class

OcrTextSpan

Namespace OfficeIMO.Ocr
Assembly OfficeIMO.Ocr
Modifiers sealed

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

Inheritance

  • Object
  • OcrTextSpan

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public OcrTextSpan() #

Properties

public Int32 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 Nullable<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 Nullable<Int32> 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 CoordinateUnit, when available.

public OcrCoordinateUnit CoordinateUnit { get; set; } #

Coordinate unit used by Region.