API Reference
ExcelHtmlConverterExtensions
Extension methods enabling HTML conversions for OfficeIMO Excel documents.
Inheritance
- Object
- ExcelHtmlConverterExtensions
Methods
public static Void SaveAsHtml(ExcelDocument workbook, String path, ExcelHtmlSaveOptions options = null) #VoidSaves a workbook as HTML.
Parameters
- arg1 OfficeIMO.Excel.ExcelDocument
- arg2 System.String
- arg3 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
public static Void SaveAsHtml(ExcelSheet sheet, String path, ExcelHtmlSaveOptions options = null) #VoidSaves a worksheet as HTML.
Parameters
- arg1 OfficeIMO.Excel.ExcelSheet
- arg2 System.String
- arg3 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
public static Void SaveAsHtml(ExcelDocument workbook, Stream stream, ExcelHtmlSaveOptions options = null) #VoidWrites a workbook as UTF-8 HTML to a stream and leaves the stream open.
Parameters
- arg1 OfficeIMO.Excel.ExcelDocument
- arg2 System.IO.Stream
- arg3 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
public static Void SaveAsHtml(ExcelSheet sheet, Stream stream, ExcelHtmlSaveOptions options = null) #VoidWrites a worksheet as UTF-8 HTML to a stream and leaves the stream open.
Parameters
- arg1 OfficeIMO.Excel.ExcelSheet
- arg2 System.IO.Stream
- arg3 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
public static async Task SaveAsHtmlAsync(ExcelDocument workbook, String path, ExcelHtmlSaveOptions options = null, CancellationToken cancellationToken = default) #TaskAsynchronously writes a workbook as UTF-8 HTML.
Parameters
- arg1 OfficeIMO.Excel.ExcelDocument
- arg2 System.String
- arg3 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
- arg4 System.Threading.CancellationToken = default
public static async Task SaveAsHtmlAsync(ExcelDocument workbook, Stream stream, ExcelHtmlSaveOptions options = null, CancellationToken cancellationToken = default) #TaskAsynchronously writes a workbook as UTF-8 HTML to a stream and leaves it open.
Parameters
- arg1 OfficeIMO.Excel.ExcelDocument
- arg2 System.IO.Stream
- arg3 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
- arg4 System.Threading.CancellationToken = default
public static async Task SaveAsHtmlAsync(ExcelSheet sheet, String path, ExcelHtmlSaveOptions options = null, CancellationToken cancellationToken = default) #TaskAsynchronously writes a worksheet as UTF-8 HTML.
Parameters
- arg1 OfficeIMO.Excel.ExcelSheet
- arg2 System.String
- arg3 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
- arg4 System.Threading.CancellationToken = default
public static async Task SaveAsHtmlAsync(ExcelSheet sheet, Stream stream, ExcelHtmlSaveOptions options = null, CancellationToken cancellationToken = default) #TaskAsynchronously writes a worksheet as UTF-8 HTML to a stream and leaves it open.
Parameters
- arg1 OfficeIMO.Excel.ExcelSheet
- arg2 System.IO.Stream
- arg3 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
- arg4 System.Threading.CancellationToken = default
public static String ToHtml(ExcelDocument workbook, ExcelHtmlSaveOptions options = null) #StringConverts a workbook to HTML.
Parameters
- arg1 OfficeIMO.Excel.ExcelDocument
- arg2 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
public static String ToHtml(ExcelSheet sheet, ExcelHtmlSaveOptions options = null) #StringConverts a worksheet to HTML.
Parameters
- arg1 OfficeIMO.Excel.ExcelSheet
- arg2 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
public static HtmlTextConversionResult ToHtmlResult(ExcelDocument workbook, ExcelHtmlSaveOptions options = null) #HtmlTextConversionResultConverts a workbook to HTML with the shared structured result contract.
Parameters
- arg1 OfficeIMO.Excel.ExcelDocument
- arg2 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
public static HtmlTextConversionResult ToHtmlResult(ExcelSheet sheet, ExcelHtmlSaveOptions options = null) #HtmlTextConversionResultConverts a worksheet to HTML with the shared structured result contract.
Parameters
- arg1 OfficeIMO.Excel.ExcelSheet
- arg2 OfficeIMO.Excel.Html.ExcelHtmlSaveOptions = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object