Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeHtmlDocumentOptions

OfficeIMO.Html

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

Options used by shared OfficeIMO HTML document shell helpers.

Inheritance

  • object
  • OfficeHtmlDocumentOptions

Usage

Explore 2 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 1

Constructors

public OfficeHtmlDocumentOptions() #

Methods

public OfficeHtmlDocumentOptions Clone() #

Creates an independent copy suitable for one conversion.

public void Validate() #

Validates the bounded document-output contract.

Properties

public bool EmitDocumentShell { get; set; } #

When true, emits a complete HTML document; otherwise emits only the supplied fragment.

public string? Title { get; set; } #

HTML document title.

public string? Language { get; set; } #

BCP 47 language tag assigned to the generated document element.

public OfficeVisualThemeKind Theme { get; set; } #

Theme applied when default shell styles are included.

public OfficeTheme? DocumentTheme { get; set; } #

Optional shared document theme. Its palette and typography take precedence over OfficeHtmlDocumentOptions.Theme.

public bool IncludeDefaultStyles { get; set; } #

When true, emits the shared OfficeIMO CSS shell.

public string BodyClass { get; set; } #

Optional CSS class assigned to the generated body.

public string NewLine { get; set; } #

Line ending used by generated HTML.