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

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

EnableDeskew

public bool EnableDeskew { get; set; }

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

Type: bool

EnableOrientationCorrection

public bool EnableOrientationCorrection { get; set; }

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

Type: bool

ForceOrientationCorrection

public bool ForceOrientationCorrection { get; set; }

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

Type: bool

InverseDeskew

public bool InverseDeskew { get; set; }

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

Type: bool

OptimisticSkewDetection

public bool OptimisticSkewDetection { get; set; }

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

Type: bool

OrientationCorrectionConfidenceThreshold

public float OrientationCorrectionConfidenceThreshold { get; set; }

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

Type: float

SkewBinarizationMethod

public string SkewBinarizationMethod { get; set; }

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

Type: string

SkewTolerance

public float SkewTolerance { get; set; }

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

Type: float

Resource management

public void Dispose()

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