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

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

DiagnosticsPath

public string DiagnosticsPath { get; set; }

Absolute path of a JSON-lines file that receives per-word typography diagnostics (candidate geometry, the model’s outputs, active execution provider). Diagnostics are off when empty.

Type: string

GlyphExtentsPath

public string GlyphExtentsPath { get; set; }

Absolute path of a local glyph-extent table: the vertical ink extents of the characters of the fonts the model names. With it, a word’s point size blends the model’s estimate with the size its ink height gives in the font its paragraph is recognized as; without it, the model’s estimate is kept.

Type: string

ModelPath

public string ModelPath { get; set; }

Absolute path to a typography ONNX model that overrides the packaged production model. The model carries its own decoding rules in its metadata. Intended for qualification and benchmarking of candidate models; the override bypasses the production artifact checksum pinning.

Type: string

ReferenceMode

public InlineStyleReferenceMode ReferenceMode { get; set; }

Reference strategy used when classifying inline styles.

Type: InlineStyleReferenceMode

ThresholdsPath

public string ThresholdsPath { get; set; }

Absolute path to a JSON file of style thresholds (style_on) and calibration temperatures (temperature), seven values each in label order, that replace the ones in the model’s metadata. Ignored unless ModelPath is set.

Type: string

Resource management

public void Dispose()

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