Merged view of OpenSettings, combining immutable defaults, SDK overrides, and document overrides. Property writes automatically target the appropriate level (document if available, otherwise SDK).

from nutrient import OpenSettings

Methods

set_document_format

def set_document_format(self, value: DocumentFormat) -> None

Sets the DocumentFormat property.

Parameters:

NameTypeDescription
valueDocumentFormatThe value to set for the DocumentFormat property.

set_implicit_conversion

def set_implicit_conversion(self, value: ImplicitConversion) -> None

Sets the ImplicitConversion property.

Parameters:

NameTypeDescription
valueImplicitConversionThe value to set for the ImplicitConversion property.

set_max_pages

def set_max_pages(self, value: int) -> None

Sets the MaxPages property.

Parameters:

NameTypeDescription
valueintThe value to set for the MaxPages property.

set_mode

def set_mode(self, value: OpenSettingsMode) -> None

Sets the Mode property.

Parameters:

NameTypeDescription
valueOpenSettingsModeThe value to set for the Mode property.

set_page_cache_mode

def set_page_cache_mode(self, value: PageCacheMode) -> None

Sets the PageCacheMode property.

Parameters:

NameTypeDescription
valuePageCacheModeThe value to set for the PageCacheMode property.

Properties

document_format

@property
def document_format(self) -> DocumentFormat

Gets the DocumentFormat property.

Type: DocumentFormat

Read-only property.


implicit_conversion

@property
def implicit_conversion(self) -> ImplicitConversion

Gets the ImplicitConversion property.

Type: ImplicitConversion

Read-only property.


max_pages

@property
def max_pages(self) -> int

Gets the MaxPages property.

Type: int

Read-only property.


mode

@property
def mode(self) -> OpenSettingsMode

Gets the Mode property.

Type: OpenSettingsMode

Read-only property.


page_cache_mode

@property
def page_cache_mode(self) -> PageCacheMode

Gets the PageCacheMode property.

Type: PageCacheMode

Read-only property.