ChartControl.ExportToPdf(Stream) Method

Exports the chart's layout to a PDF document and sends it to the specified stream.

Namespace: DevExpress.XtraCharts

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

Declaration

public void ExportToPdf(
    Stream stream
)
Public Sub ExportToPdf(
    stream As Stream
)

Parameters

Name Type Description
stream Stream

A Stream object to which the created document is exported.

Remarks

A chart's layout can only be exported if the XtraPrinting Library and Pdf.Core libraries are available. Use the ChartControl.IsPrintingAvailable property, to check whether the chart can be exported.

See Also