All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SpreadsheetControl.ExportToHtml(Stream, CellRange) Method

Exports the specified range to the specified stream in HTML format.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v20.1.dll

Declaration

public void ExportToHtml(
    Stream stream,
    CellRange range
)
Public Sub ExportToHtml(
    stream As Stream,
    range As CellRange
)

Parameters

Name Type Description
stream Stream

A Stream object to which the created HTML file should be sent.

range CellRange

A CellRange object to be exported to HTML.

Remarks

For an example on how to save a document as HTML, refer to the How to: Export a Document to HTML article.

See Also