Settings for Parse. 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
EmitFigurePlaceholders
public bool EmitFigurePlaceholders { get; set; }Controls whether pictures that have no alt text and no extractable words emit a [Figure] placeholder line in the Markdown output. When enabled, such pictures are marked with the placeholder; when disabled, they emit nothing. Pictures with alt text are unaffected and always render as ![alt]().
Type: bool
EnableInlineFormatting
public bool EnableInlineFormatting { get; set; }Controls whether inline text formatting is preserved in the Markdown output using Markdown or inline HTML markers for bold, italic, underline, highlight, strikethrough, superscript, and subscript text.
Type: bool
EnableSemanticBlockFormatting
public bool EnableSemanticBlockFormatting { get; set; }Controls whether footnotes render as a blockquote (>) and whether pictures, charts and barcodes are emitted at all (pictures render as ![alt]() when they carry alt text; refer to EmitFigurePlaceholders for pictures without one; charts render as their table only). When false, footnotes render as plain paragraphs and pictures, charts and barcodes are dropped entirely. Captions render as plain paragraphs and list items with - regardless.
Type: bool
ExportFormats
public string[]? ExportFormats { get; set; }Several export formats at once. Overrides exportFormat. Supported values: json, markdown. Each format is returned as its own artifact (document.json, document.md). Over HTTP, several artifacts arrive as one TAR archive.
Type: string[]?
ExtractWordsFromPictures
public bool ExtractWordsFromPictures { get; set; }Controls whether words detected inside picture regions are emitted as plain text in Markdown output. This helps preserve chart labels, axis text, legends, and similar image-contained text when available.
Type: bool
IncludeDiagnostics
public bool? IncludeDiagnostics { get; set; }When true, emit diagnostics.json when VLM/model diagnostics were produced.
Type: bool?
IncludeHeadersAndFooters
public bool IncludeHeadersAndFooters { get; set; }Controls whether running page headers and footers are included in the Markdown output. When enabled, their content (agency ids, case numbers, page numbers, letterhead) is emitted so it stays available to readers and language models. Set EmitHeaderFooterMarkers to also wrap it in comment markers.
Type: bool
IncludeWords
public bool? IncludeWords { get; set; }Include word-level details with bounding boxes
Type: bool?
InverseDeskew
public bool InverseDeskew { get; set; }Indicates whether the inverse deskew transform is enabled. When disabled, bounding boxes remain in deskewed-image coordinates. Applies to the recognition pipelines only. A page-level deskew rotates the page content itself, so there are no detected coordinates to map back.
Type: bool
OutputDirectory
public string? OutputDirectory { get; set; }Directory to write all emitted artifacts to (optional). Each artifact is written under its artifact name, for example document.json.
Type: string?
OutputFilePath
public string? OutputFilePath { get; set; }Path to write the single exported artifact to a file (optional). Fails if the chosen format emits multiple artifacts.
Type: string?
PrettyPrint
public bool? PrettyPrint { get; set; }Emit indented JSON
Type: bool?
UseHtmlTables
public bool UseHtmlTables { get; set; }Controls how tables are rendered in the Markdown output. When enabled, tables are emitted as HTML (<table>/<tr>/<td>) preserving row/column spans where available; when disabled, tables render as pipe-style Markdown.
Type: bool
Resource management
public void Dispose()ParseSettings 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.