Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

Workbook.ExportToHtml(String, Int32) Method

Exports the specified worksheet to the specified file in HTML format.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this property in production code.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Docs.v19.1.dll

Declaration

public void ExportToHtml(
    string fileName,
    int sheetIndex
)

Parameters

Name Type Description
fileName String

A String value which contains the full path (including the file name and extension) specifying where the HTML file will be created.

sheetIndex Int32

An integer value that is the index of the worksheet to be exported to HTML.

See Also