Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeHtmlDocumentOptions

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Source revision 804a7612eee4 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() #
Returns: OfficeHtmlDocumentOptions

Creates an independent copy suitable for one conversion.

public Void Validate() #
Returns: Void

Validates the bounded document-output contract.

Properties

public Boolean 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 Boolean 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.