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

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

ConfidenceThreshold

public float ConfidenceThreshold { get; set; }

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

Type: float

DetectOrientation

public bool DetectOrientation { get; set; }

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

Type: bool

MinimumZoneSize

public int MinimumZoneSize { get; set; }

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

Type: int

TargetSize

public int TargetSize { get; set; }

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

Type: int

UseCpuOnly

public bool UseCpuOnly { get; set; }

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

Type: bool

Resource management

public void Dispose()

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