FinalizerSettings
Settings for Finalizer. 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
EnableValidation
public bool EnableValidation { get; set; }Indicates whether validation of the final document layout is enabled.
Type: bool
MinimumDocumentConfidence
public float MinimumDocumentConfidence { get; set; }Minimum overall confidence threshold for the final document (0.0 - 1.0). Documents with average confidence below this threshold will trigger a validation warning.
Type: float
RecoverUnclaimedText
public bool RecoverUnclaimedText { get; set; }Keeps recognized text that no other stage claimed. A word belongs to a detected region, and each kind of region has a stage that turns it into content - paragraphs, table cells, key-value pairs. A region whose stage produced nothing, or which no stage handles at all, leaves its words with no route into the output, and they are silently missing from the exported document. When enabled (the default), those words are emitted as plain text lines in the region’s reading-order position. Words inside picture regions are excluded; they are governed by the picture text-extraction setting instead.
Type: bool
Resource management
public void Dispose()FinalizerSettings 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.