Skip to main content

HtmlDocumentExporterOptions Properties

Contains options for exporting the document in HTML format.
Name Description
AnchorImagesToPage Gets or sets a value indicating whether to place images on an HTML page at absolute positions relative to the page’s top-left corner.
ClipCellContent Gets or sets a value indicating whether to clip the cell content that overflows the cell bounds.
CssPropertiesExportType Gets or sets how the style sheets properties are exported.
EmbedImages Specifies whether images are embedded in an HTML document.
Encoding Gets or sets the character encoding used in an exported document.
ExportComments Gets or sets whether to include comments in HTML export output.
ExportGridlines Gets or sets whether to include cell gridlines in HTML export output.
ExportImages Gets or sets whether to include images in HTML export output.
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.
OverrideImageResolution Gets or sets the graphics resolution used to save images when a document is exported in HTML format.
Range Gets or sets the worksheet range to be exported to an HTML file.
SheetIndex Gets or sets the index of the worksheet to be exported to an HTML file.
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.
UseColumnGroupTag Gets or sets a value indicating whether the column width should be exported to HTML using the <colgroup> tag.
UseCssForWidthAndHeight Gets or sets a value indicating whether to use the CSS style attribute to specify the width and height of table elements.
UseSpanTagForIndentation Gets or sets a value indicating whether the indent value should be exported to HTML using the <span> tag.
See Also