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

Settings for DocumentClassification. 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

AutoWeight

public bool AutoWeight { get; set; }

Gets or sets the value of AutoWeight. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

ImageWeight

public float ImageWeight { get; set; }

Gets or sets the value of ImageWeight. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: float

IncludePerPageScores

public bool IncludePerPageScores { get; set; }

Gets or sets the value of IncludePerPageScores. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

MultiLabel

public bool MultiLabel { get; set; }

Gets or sets the value of MultiLabel. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: bool

PoolingTemperature

public float PoolingTemperature { get; set; }

Gets or sets the value of PoolingTemperature. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: float

Text

public string Text { get; set; }

Gets or sets the value of Text. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string

TextWeight

public float TextWeight { get; set; }

Gets or sets the value of TextWeight. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: float

TopK

public int TopK { get; set; }

Gets or sets the value of TopK. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

Resource management

public void Dispose()

DocumentClassificationSettings 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.