Skip to main content
A newer version of this page is available. .
Row

Workbook.ExportToHtml(String, Worksheet) 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.v18.2.dll

Declaration

public void ExportToHtml(
    string fileName,
    Worksheet sheet
)

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.

sheet Worksheet

A Worksheet object to be exported to HTML.

See Also