Settings for Vision. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document’s settings, otherwise the SDK globally when set on SdkSettings.
using Nutrient;The SDK creates this class through factory methods or other SDK objects.
Properties
AccessibleImageDescriptions
public bool AccessibleImageDescriptions { get; set; }Indicates whether VLM image descriptions should be written as screen-reader alt text. When enabled, the description prompt requires a concise, meaningful, non-empty description for every image (including simple or decorative ones), suitable for use as accessibility alt text — for example when tagging a document for PDF/UA. Has no effect unless VLM augmentation runs (EnableVlm), and is ignored when a custom VLM system prompt is configured.
Type: bool
EnableFontRecognition
public bool EnableFontRecognition { get; set; }Deprecated, and has no effect. Font family, font class and point size on OCR words now come with the inline text styles: InlineStyles in Features turns them on and off together.
Type: bool
EnableLayoutReconstruction
public bool EnableLayoutReconstruction { get; set; }Indicates whether the ICR image pipeline should run VLM layout reconstruction, which rebuilds each page into faithful structure (tables, headings, ordered paragraphs) for high-fidelity editable-document export. Runs per page while the imaging engine is loaded; text is taken verbatim from the extracted content and the VLM only fills gaps. Independent of EnableVlm.
Type: bool
EnableOcr
public OcrActivationMode EnableOcr { get; set; }Controls OCR resource loading and OCR-based word detection inside the ICR image pipeline.
Type: OcrActivationMode
EnableVlm
public bool EnableVlm { get; set; }Indicates whether the ICR image pipeline should run late VLM augmentation. VlmEnhancedIcr also enables this behavior for backward-compatible engine selection.
Type: bool
Engine
public VisionEngine Engine { get; set; }Specifies which vision processing engine/pipeline to use for content extraction. Document classification and splitting read page text with this engine when it is set, and with AdaptiveOcr when it is not.
Type: VisionEngine
ExperimentalVlmEvidenceArbitration
public bool ExperimentalVlmEvidenceArbitration { get; set; }Indicates whether the VLM’s reading of a word is weighed against the OCR evidence recorded for the word, in text zones and tables alike. Where OCR’s reading has been measured to be right more often than the VLM’s for the same kind of change and the same evidence (a digit two OCR engines agree on, for instance), the word keeps OCR’s reading. Where the OCR engines disagree and the VLM reads what one of them read, the word takes that reading. Applies only when a VLM runs.
Type: bool
FallbackProvider
public VlmProvider FallbackProvider { get; set; }Optional secondary provider used to transparently retry a request when the primary Provider fails in a way a retry on the same model can’t fix — a content-filtered or refused response, or a transient outage (unreachable endpoint, server error, rate limit). The fallback’s connection (endpoint, key, model) is read from that provider’s settings class, so configure it alongside the primary’s. Failover is per request and transparent to the result.
Type: VlmProvider
Features
public VisionFeatures Features { get; set; }Vision features to enable during document processing.
Type: VisionFeatures
OutputFormat
public VisionOutputFormat OutputFormat { get; set; }Format of content returned by ExtractContent. Defaults to Json.
Type: VisionOutputFormat
Provider
public VlmProvider Provider { get; set; }The primary Vision Language Model provider to use for AI-powered features.
Type: VlmProvider
ReconcileTableText
public bool ReconcileTableText { get; set; }Indicates whether the VLM also reads table zones, so that each cell’s words take the VLM’s reading where the two reads align closely (a misread digit, a lost separator or accent). OCR still decides where every word sits, and therefore which cell it belongs to; the VLM’s opinion of the zone’s type is not used. Applies only when a VLM runs. On by default: the agentic tier trades about 10 % more VLM tokens for table cells read as the VLM reads them where OCR misread them.
Type: bool
Resource management
public void Dispose()VisionSettings implements IDisposable. Call Dispose() or use a C# using declaration to release its native handle right away. If you don’t, the handle is released when the object is garbage collected.