Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutControl.ExportToHtml Method

Name Parameters Description
ExportToHtml(Stream, HtmlExportOptions) stream, options Exports the control’s data to the specified stream in HTML format using the specified options.
ExportToHtml(Stream, String, String, Boolean) stream, htmlCharSet, title, compressed Obsolete. Exports the controls displayed within the LayoutControl to a stream in HTML format using the specified character encoding, with the specified title. The output file can be compressed (secondary characters e.g. spaces are removed) if required.
ExportToHtml(Stream) stream Exports the controls displayed within the LayoutControl to a stream in HTML format
ExportToHtml(String, HtmlExportOptions) filePath, options Exports the control’s data to the specified file in HTML format using the specified options.
ExportToHtml(String, String, String, Boolean) filePath, htmlCharSet, title, compressed Obsolete. Exports the controls displayed within the LayoutControl to a file in HTML format using the specified character encoding, with the specified title. The output file can be compressed (secondary characters e.g. spaces are removed) if required.
ExportToHtml(String, String) filePath, htmlCharSet Obsolete. Exports the controls displayed within the LayoutControl to a file in HTML format using the specified character encoding.
ExportToHtml(String) filePath Exports the controls displayed within the LayoutControl to a file in HTML format