InferenceLayoutSettings
Settings for InferenceLayout. 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
GroupExpansionHeightRatio
public float GroupExpansionHeightRatio { get; set; }Gets or sets the value of GroupExpansionHeightRatio. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: float
HandwritingLayoutRecovery
public bool HandwritingLayoutRecovery { get; set; }Gets or sets the value of HandwritingLayoutRecovery. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
HarvestConfidenceFloor
public float HarvestConfidenceFloor { get; set; }Gets or sets the value of HarvestConfidenceFloor. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: float
MergeRecoveredFragments
public bool MergeRecoveredFragments { get; set; }Gets or sets the value of MergeRecoveredFragments. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
RecoveryWordCoverageCeiling
public float RecoveryWordCoverageCeiling { get; set; }Gets or sets the value of RecoveryWordCoverageCeiling. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: float
UnderSegmentationInkThreshold
public float UnderSegmentationInkThreshold { get; set; }Gets or sets the value of UnderSegmentationInkThreshold. 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()InferenceLayoutSettings 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.