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

Obsolete. Exports the chart's layout to an HTML document with the specified encoding and title and sends it to the specified stream.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.UI.dll

Declaration

[Obsolete("This method is now obsolete. You should use the ExportToHtml(Stream, HtmlExportOptions) method instead.")]
[Browsable(false)]
public void ExportToHtml(
    Stream stream,
    string htmlCharSet,
    string title,
    bool compressed
)
<Obsolete("This method is now obsolete. You should use the ExportToHtml(Stream, HtmlExportOptions) method instead.")>
<Browsable(False)>
Public Sub ExportToHtml(
    stream As Stream,
    htmlCharSet As String,
    title As String,
    compressed As Boolean
)

Parameters

Name Type Description
stream Stream

A Stream object to which the created document is exported.

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