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; }

The expected document format.

Type: DocumentFormat

ImplicitConversion

public ImplicitConversion ImplicitConversion { get; set; }

Whether implicit conversion is enabled when opening documents in editors. When enabled, documents will be automatically converted to a compatible format for editing.

Type: ImplicitConversion

MaxPages

public int MaxPages { get; set; }

The maximum number of pages to load from the document.

Type: int

Mode

public OpenSettingsMode Mode { get; set; }

The operational mode for opening the document.

Type: OpenSettingsMode

PageCacheMode

public PageCacheMode PageCacheMode { get; set; }

The page caching mode for the document.

Type: PageCacheMode

PageRange

public string PageRange { get; set; }

The 1-based range of pages to process. When empty (the default) or "*", all pages are processed.

Type: string

Password

public string Password { get; set; }

The password used to open a password-protected (encrypted) document.

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.