OpenSettings
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 OpenSettingsMethods
set_document_format
def set_document_format(self, value: DocumentFormat) -> NoneSets the DocumentFormat property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | DocumentFormat | The value to set for the DocumentFormat property. |
set_implicit_conversion
def set_implicit_conversion(self, value: ImplicitConversion) -> NoneSets the ImplicitConversion property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | ImplicitConversion | The value to set for the ImplicitConversion property. |
set_max_pages
def set_max_pages(self, value: int) -> NoneSets the MaxPages property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | int | The value to set for the MaxPages property. |
set_mode
def set_mode(self, value: OpenSettingsMode) -> NoneSets the Mode property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | OpenSettingsMode | The value to set for the Mode property. |
set_page_cache_mode
def set_page_cache_mode(self, value: PageCacheMode) -> NoneSets the PageCacheMode property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | PageCacheMode | The value to set for the PageCacheMode property. |
Properties
document_format
@propertydef document_format(self) -> DocumentFormatGets the DocumentFormat property.
Type: DocumentFormat
Read-only property.
implicit_conversion
@propertydef implicit_conversion(self) -> ImplicitConversionGets the ImplicitConversion property.
Type: ImplicitConversion
Read-only property.
max_pages
@propertydef max_pages(self) -> intGets the MaxPages property.
Type: int
Read-only property.
mode
@propertydef mode(self) -> OpenSettingsModeGets the Mode property.
Type: OpenSettingsMode
Read-only property.
page_cache_mode
@propertydef page_cache_mode(self) -> PageCacheModeGets the PageCacheMode property.
Type: PageCacheMode
Read-only property.