Back to Devexpress

GridControl.ExportToHtml Method

windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-dot-exporttohtml.md

latest3.6 KB
Original Source

GridControl.ExportToHtml Method

NameParametersDescription
ExportToHtml(Stream, HtmlExportOptions)stream, optionsExports 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, compressedObsolete. 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(Stream)streamExports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified stream in HTML format.
ExportToHtml(String, HtmlExportOptions)filePath, optionsExports 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, String, Boolean)filePath, htmlCharSet, title, compressedObsolete. 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.
ExportToHtml(String, String)filePath, htmlCharSetObsolete. 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)filePathExports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in HTML format.