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

PivotGridControl.ExportToMht Method

Name Parameters Description
ExportToMht(Stream, MhtExportOptions) stream, options Exports the control’s data to the specified stream in MHT format using the specified options.
ExportToMht(Stream, String, String, Boolean) stream, htmlCharSet, title, compressed Exports the Pivot Grid Control’s data to an MHT document (Web archive, single file) at the specified path and title and sends it to the specified stream. The output file can be compressed (secondary characters e.g. spaces are removed) if required.
ExportToMht(String, MhtExportOptions) filePath, options Exports the control’s data to the specified file in MHT format using the specified options.
ExportToMht(String, String, String, Boolean) filePath, htmlCharSet, title, compressed Exports the Pivot Grid Control’s data to an MHT file (Web archive, single file) with the specified path and title. The output file can be compressed (secondary characters e.g. spaces are removed) if required.
ExportToMht(String, String) filePath, htmlCharSet Exports the Pivot Grid Control’s data to an MHT file (Web archive, single file) at the specified path and with the specified encoding.
ExportToMht(String) filePath Exports the Pivot Grid Control’s data to an MHT file (Web archive, single file) at the specified path.