Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OneNoteVisualHtmlExportOptions

OfficeIMO.OneNote.Html

Namespace
OfficeIMO.OneNote.Html
Assembly
OfficeIMO.OneNote.Html
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Controls visual-preserving HTML generated from the native OneNote page canvas.

Inheritance

  • object
  • OneNoteVisualHtmlExportOptions

Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 4

Constructors

public OneNoteVisualHtmlExportOptions() #

Methods

public OneNoteVisualHtmlExportOptions Clone() #

Creates an independent copy of these settings; the diagnostic sink is shared.

Properties

public OneNotePageRenderingOptions PageRendering { get; set; } #

Page rendering options shared with image and PDF export.

public string? DocumentTitle { get; set; } #

Standalone document title. The notebook or section name is used when absent.

public string Language { get; set; } #

BCP 47 document language written to standalone HTML.

public bool IncludeAccessibleText { get; set; } #

Whether encoded semantic page text is included for assistive technology and indexing.

public bool IncludeDefaultStyles { get; set; } #

Whether the built-in responsive canvas stylesheet is included.

public ICollection<OfficeImageExportDiagnostic>? DiagnosticSink { get; set; } #

Optional caller-owned collection that receives page-mapping and image-fallback diagnostics.

public bool Fragment { get; set; } #

Produces an embeddable SVG-page fragment instead of a standalone HTML5 document.

public bool FailOnLoss { get; set; } #

Throws OfficeConversionException when the conversion reports loss.