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

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

HtmlMediaLoadTimeoutMilliseconds

public int? HtmlMediaLoadTimeoutMilliseconds { get; set; }

The maximum time, in milliseconds, to wait for page media (images and other sub-resources) to finish loading when rendering HTML, MHTML, or email input, before the page is captured. When set to a positive value, the renderer waits for the load event but no longer than this many milliseconds, so a slow or unreachable external resource cannot stall the conversion.

Type: int?

TimeoutMilliseconds

public int TimeoutMilliseconds { get; set; }

The conversion timeout in milliseconds. After this time, the conversion will be aborted and return a TimeoutException.

Type: int

Resource management

public void Dispose()

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