GetOCRRetryPageRange

OCR and text recognition

Description

Return a reusable 1-based page-range string listing pages that failed or remained unprocessed in the last OCRDocumentEx call

Syntax

Delphi

Function TPDFlib.GetOCRRetryPageRange: WideString;

Return values

Returns a compact page-range string (such as '2,5-7') suitable for passing directly back to OCRDocumentEx, or an empty string when all requested pages succeeded.

Remarks

Designed for targeted retry workflows when running OCRDocumentEx in continue-on-error mode.

See also

OCRDocumentEx, GetOCRDocumentReportJSON, GetOCRDiagnosticsJSON