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

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

BoxThreshold

public float BoxThreshold { get; set; }

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

Type: float

LimitSideLength

public int LimitSideLength { get; set; }

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

Type: int

LimitType

public string LimitType { get; set; }

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

Type: string

MaxCandidates

public int MaxCandidates { get; set; }

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

Type: int

ModelPath

public string ModelPath { get; set; }

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

Type: string

Threshold

public float Threshold { get; set; }

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

Type: float

UnclipRatio

public float UnclipRatio { get; set; }

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

Type: float

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()

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