OfficeHtmlDocumentOptions
OfficeIMO.Html
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.
Returns
OfficeHtmlDocumentOptionspublic void Validate() #Validates the bounded document-output contract.
Inherited Methods
Properties
public bool EmitDocumentShell { get; set; } #When true, emits a complete HTML document; otherwise emits only the supplied fragment.
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.