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

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

OBSOLETE

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

Exports the chart’s layout to an HTML file with the specified encoding and title.

Namespace: DevExpress.XtraCharts

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

NuGet Package: DevExpress.Win.Charts

#Declaration

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

#Parameters

Name Type Description
filePath String

A String which specifies the full path (including the file name and extension) to where the HTML file will be created.

htmlCharSet String

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

title String

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

compressed Boolean

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

#Remarks

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

See Also