This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/enums/ocr-activation-mode.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. OcrActivationMode

Controls whether OCR resource loading and OCR-based word detection run inside the ICR image pipeline.

using Nutrient;

Values

NameValueDescription
OcrActivationMode.Auto0OCR runs, with or without VLM augmentation. With the VLM on, OCR reads the whole page and the VLM corrects and completes that read; the VLM alone reads only the regions the layout detector kept, so text outside them, and table content, would otherwise be missing. This is the default.
OcrActivationMode.Activated1OCR always runs, regardless of whether VLM augmentation is enabled.
OcrActivationMode.Deactivated2OCR never runs, regardless of whether VLM augmentation is enabled.