GridControl.ExportToHtml Method

Name Parameters Description
ExportToHtml(Stream) stream Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified stream in HTML format.
ExportToHtml(Stream, HtmlExportOptions) stream, options Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified stream in HTML format using the specified options.
ExportToHtml(Stream, String, String, Boolean) stream, htmlCharSet, title, compressed Obsolete. Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified stream in HTML format with the specified title, using the specified character encoding. The output file can be compressed (secondary characters e.g. spaces are removed) if required.
ExportToHtml(String) filePath Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in HTML format.
ExportToHtml(String, HtmlExportOptions) filePath, options Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in HTML format using the specified options.
ExportToHtml(String, String) filePath, htmlCharSet Obsolete. Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in HTML format using the specified character encoding.
ExportToHtml(String, String, String, Boolean) filePath, htmlCharSet, title, compressed Obsolete. Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified HTML file with the specified title, using the specified character encoding. The output file can be compressed (secondary characters e.g. spaces are removed) if required.