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

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

EmitPageBoundaryMarkers

public bool EmitPageBoundaryMarkers { get; set; }

When enabled, the layout-preserving text converter emits a unique HTML-comment marker at the start of every page (<!-- nutrient-page-start: N -->, where N is the 1-indexed physical page number), so downstream tooling can slice the text reliably back into per-page chunks. The same marker format the Markdown exporter uses, so consumers can treat both identically.

Type: bool

Resource management

public void Dispose()

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