Skip to main content
A newer version of this page is available. .

ChartControl.ExportToMht(String, String, String, Boolean) Method

OBSOLETE

This method is now obsolete. You should use the ExportToMht method instead.

Exports the chart’s layout to an MHT file (Web archive, single file) on the specified path, with the specified title.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.UI.dll

Declaration

[Obsolete("This method is now obsolete. You should use the ExportToMht(string, MhtExportOptions) method instead.")]
[Browsable(false)]
public void ExportToMht(
    string filePath,
    string htmlCharSet,
    string title,
    bool compressed
)

Parameters

Name Type Description
filePath String

A String specifying the full path (including the file name and extension) where the MHT file will be created.

htmlCharSet String

A String which specifies the encoding name set in the MHT file (e.g. “UTF-8”).

title String

A String which specifies the name shown as the title of the created MHT document.

compressed Boolean

true to compress the MHT code (secondary characters e.g. spaces are removed); otherwise, false.

Remarks

This method is now obsolete. Instead, use the ChartControl.ExportToMht method with the options parameter.

See Also