Skip to main content

HtmlDocumentExporterOptions Members

Contains options for exporting the document in HTML format.

Constructors

Name Description
HtmlDocumentExporterOptions() Initializes a new instance of the HtmlDocumentExporterOptions class with the default settings.

Properties

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.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the options object passed as a parameter. Inherited from BaseOptions.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
CopyFrom(IExporterOptions) Copies the appropriate properties of the specified object into the current instance of the HtmlDocumentExporterOptions class.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string representing the currently enabled options. Inherited from BaseOptions.
See Also