---
title: "DocumentClassificationSettings"
canonical_url: "https://www.nutrient.io/api/csharp/settings/vision/document-classification-settings/"
md_url: "https://www.nutrient.io/api/csharp/settings/vision/document-classification-settings.md"
last_updated: "2026-10-08T08:55:57.713Z"
description: "Settings for DocumentClassification. Values fall back through three levels: document → SDK → built-in default."
---

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.

```csharp

using Nutrient;

```

The SDK creates this class through factory methods or other SDK objects.

## Properties

### AutoWeight

```csharp

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

```csharp

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

```csharp

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

```csharp

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

```csharp

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

```csharp

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

```csharp

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

```csharp

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

```csharp

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.

---

## Related pages

- [Vision](/api/csharp/settings/vision.md)
- [Document Split Settings](/api/csharp/settings/vision/document-split-settings.md)
- [Extract Settings](/api/csharp/settings/vision/extract-settings.md)
- [Parse Settings](/api/csharp/settings/vision/parse-settings.md)
- [Schema Generation Settings](/api/csharp/settings/vision/schema-generation-settings.md)
- [Vision Settings](/api/csharp/settings/vision/vision-settings.md)

