ChartControl.ExportToImage Method

Name Parameters Description
ExportToImage(Stream, ImageFormat) stream, format Creates an image file in the specified format from the current chart and exports it to a stream.
ExportToImage(String, ImageFormat) filePath, format Creates an image file in the specified format from the current chart and outputs it to the specified path.