Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

HtmlDocumentExporterOptions Properties

Contains options to export the document in HTML format.
Name Description
CssPropertiesExportType Gets or sets how the style sheets properties are exported.
DefaultCharacterPropertiesExportToCss Specifies whether or not the Document.DefaultCharacterProperties formatting is exported in HTML style sheet.
EmbedImages Specifies whether images are embedded in an HTML document.
Encoding Gets or sets the character encoding used in an exported document.
EndNoteNamePrefix Gets or sets the string used to construct the name of the endnote reference in an exported document.
EndNoteNumberStringFormat Gets or sets the format string that specifies how the endnote number is transformed into a string to construct the name of the endnote reference in exported document.
ExportedDocumentProperties Gets or sets the document properties being exported. Inherited from DocumentExporterOptions.
ExportImageSize Gets or sets how the current image size is preserved in the resulting HTML output.
ExportListItemStyle Gets or sets whether to disable writing font settings into *<li>* tags when exporting a document to the HTML format.
ExportRootTag Gets or sets the root tag of the HTML document to start the export.
FontUnit Gets or sets the measurement unit to specify font size when exporting to HTML.
FootNoteNamePrefix Gets or sets the string used to construct the name of the footnote reference in an exported document.
FootNoteNumberStringFormat Gets or sets the format string that specifies how the footnote number is transformed into a string to construct the name of the footnote reference in exported document.
HtmlNumberingListExportFormat Gets or sets how the lists are represented in the resulting document.
IgnoreHangingIndentOnNumberingList Gets or sets whether to ignore the paragraph’s hanging indent value when exporting the numbering and bulleted lists to HTML.
IgnoreParagraphOutlineLevel Gets or sets whether paragraphs with different Paragraph.OutlineLevel values are exported as text enclosed in the <P> tag.
KeepExternalImageSize Fixes incorrect export of images in metafile formats.
KeepLineSpacing Gets or sets whether the Paragraph.LineSpacing setting is exported in HTML.
OverrideImageResolution Gets or sets the graphics resolution used to save images when a document is exported in HTML format.
TabMarker Gets or sets a character or a string used to replace a tab symbol when exporting a document in HTML format.
TargetUri Gets or sets the URI of the document being exported. Inherited from DocumentExporterOptions.
UnderlineTocHyperlinks Gets or sets whether Table of Contents entries are underlined in a document exported to HTML format.
UriExportType Specifies how the links to external content are saved in the exported document.
UseFontSubstitution Gets or sets whether missing fonts are substituted.
UseHtml5 Gets or sets whether the exported HTML conforms with HTML5 specification.
See Also