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

How a text-search result is rendered. The matches are the same across all of these — only the presentation differs.

using Nutrient;

Values

NameValueDescription
SearchDisplay.Windows0Lines A-B header + the window text, blank-line separated. The default.
SearchDisplay.Text1The window text only — no line headers.
SearchDisplay.Lines2The 1-based line ranges only (e.g. 12-16), one per line.
SearchDisplay.Matches3Match #N header + text, with a horizontal-rule separator between matches. A compact, numbered format for listing several results.
SearchDisplay.Full4Lines A-B (score S) header + text — scores included.
SearchDisplay.Json5A JSON array of {line, start, end, score, text} objects.