• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class DocumentHtmlExporter

Extension methods for exporting a Document to HTML.

Inheritance
object
DocumentHtmlExporter
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX