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.v19.1.UI.dll
Declaration
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