Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OcrTextSpan

Namespace OfficeIMO.Ocr
Assembly OfficeIMO.Ocr
Source revision dce3df7a1b5d 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 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 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 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 OcrTextSpan.CoordinateUnit, when available.

public OcrCoordinateUnit CoordinateUnit { get; set; } #

Coordinate unit used by OcrTextSpan.Region.