OfficeHelper.ToDocx Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

ToDocx(IHtmlDocument)

Converts an IHtmlDocument to the Open XML document format (.docx).

public static FileInfo ToDocx(IHtmlDocument input)

Parameters

input
IHtmlDocument

The IHtmlDocument to convert.

Returns

System.IO.FileInfo

A System.IO.FileInfo object pointing to the (temporary) .docx file on disk