ReadingOrderSettings
Settings for ReadingOrder. 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
HorizontalDilationThreshold
public float HorizontalDilationThreshold { get; set; }Horizontal dilation threshold for column detection (normalized by page width). Default is 0.15 (15% of page width). Increase for wider column detection tolerance, decrease for stricter column boundaries.
Type: float
TextDirection
public TextDirection TextDirection { get; set; }Text direction for reading order computation. Determines how elements are sorted and ordered on the page.
Type: TextDirection
Resource management
public void Dispose()ReadingOrderSettings 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.