OCRDocumentExA

OCR, rendering, DLL

Description

Runs the same page-range OCR as OCRDocumentEx through the DLL narrow-string convention

Syntax

int DLOCRDocumentExA(int InstanceID, const char* PageRange, double DPI,
  const char* Language, const char* FontName, double MinConfidence,
  int Options);

Return values

Returns the number of pages processed before completion, failure, or cancellation, including pages skipped by the existing-text policy and pages with no accepted words

Remarks

Input strings are decoded with the instance ANSI-to-wide conversion configuration; use the wide entry point to pass Unicode independently of that configuration

See also

OCRDocumentEx, OCRPageEx, ConfigureTesseractOCR, GetOCRDiagnosticsJSON