Class DocumentHtmlExporter
Extension methods for exporting a Document to HTML.
Inherited Members
Namespace: DRIT.Document.Export.Html
Assembly: DRIT.Document.dll
Syntax
public static class DocumentHtmlExporter
Methods
SaveAsHtml(Document, Stream, HtmlSaveOptions)
Writes the document as HTML to stream.
The stream is left open; the caller is responsible for disposing it.
Declaration
public static void SaveAsHtml(this Document document, Stream stream, HtmlSaveOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Document | document | |
| Stream | stream | |
| HtmlSaveOptions | options |
SaveAsHtml(Document, string, HtmlSaveOptions)
Saves the document as an HTML file at filePath.
Any existing file is overwritten.
Declaration
public static void SaveAsHtml(this Document document, string filePath, HtmlSaveOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Document | document | |
| string | filePath | |
| HtmlSaveOptions | options |