Settings for Html. 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
ImageExport
public ImageExportMode ImageExport { get; set; }Controls how images are exported when converting documents to HTML.
Type: ImageExportMode
Layout
public HtmlLayoutType Layout { get; set; }The layout type to use when saving HTML documents.
Type: HtmlLayoutType
Resource management
public void Dispose()HtmlSettings 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.