Back to Devexpress

GridControl.ExportToMht Method

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

latest3.2 KB
Original Source

GridControl.ExportToMht Method

NameParametersDescription
ExportToMht(Stream, MhtExportOptions)stream, optionsExports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified stream in MHT format using the specified options.
ExportToMht(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 a stream in MHT 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.
ExportToMht(String, MhtExportOptions)filePath, optionsExports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in MHT format using the specified options.
ExportToMht(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 file in MHT 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.
ExportToMht(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 MHT format using the specified character encoding.
ExportToMht(String)filePathExports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in MHT format