Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OcrResultCaptureLimits

Namespace OfficeIMO.Ocr
Assembly OfficeIMO.Ocr
Modifiers sealed

Bounds provider-owned collections copied during a recognition invocation.

Inheritance

  • Object
  • OcrResultCaptureLimits

Usage

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

Accepted by parameters

Constructors

public OcrResultCaptureLimits(Int32 maxSpans = 2147483647, Int32 maxDiagnostics = 2147483647, Int32 maxDiagnosticAttributes = 2147483647) #

Creates immutable retention limits. Omitted counts remain available on the captured result.

Parameters

maxSpans System.Int32 = 2147483647 optionalposition: 0
maxDiagnostics System.Int32 = 2147483647 optionalposition: 1
maxDiagnosticAttributes System.Int32 = 2147483647 optionalposition: 2

Properties

public Int32 MaxSpans { get; } #

Maximum retained text spans.

public Int32 MaxDiagnostics { get; } #

Maximum retained diagnostics. Terminal errors are checked even outside this prefix.

public Int32 MaxDiagnosticAttributes { get; } #

Maximum retained attributes across all retained diagnostics.