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

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

DocumentFormat

public DocumentFormat DocumentFormat { get; set; }

Gets or sets the value of DocumentFormat. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: DocumentFormat

ImplicitConversion

public ImplicitConversion ImplicitConversion { get; set; }

Gets or sets the value of ImplicitConversion. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: ImplicitConversion

MaxPages

public int MaxPages { get; set; }

Gets or sets the value of MaxPages. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: int

Mode

public OpenSettingsMode Mode { get; set; }

Gets or sets the value of Mode. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: OpenSettingsMode

PageCacheMode

public PageCacheMode PageCacheMode { get; set; }

Gets or sets the value of PageCacheMode. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: PageCacheMode

PageRange

public string PageRange { get; set; }

Gets or sets the value of PageRange. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string

Password

public string Password { get; set; }

Gets or sets the value of Password. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.

Type: string

Resource management

public void Dispose()

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