Skip to main content
A newer version of this page is available. .

ChartControlExtension.ExportToImage Method

Name Parameters Description
ExportToImage(ChartControlSettings, Object, Boolean, ImageFormat) static settings, dataObject, saveAsFile, format Creates an image file in the specified format from the chart with the specified settings and sends it as an action result.
ExportToImage(ChartControlSettings, Object, ImageFormat, Stream) static settings, dataObject, format, stream Creates an image file in the specified format from the chart with the specified settings and exports it to the specified stream.
ExportToImage(ChartControlSettings, Object, ImageFormat) static settings, dataObject, format Creates an image file in the specified format from the chart with the specified settings and sends it as an action result.
ExportToImage(ChartControlSettings, Object, String, Boolean, ImageFormat) static settings, dataObject, fileName, saveAsFile, format Creates an image file in the specified format from the chart with the specified settings and sends it as an action result.
ExportToImage(ChartControlSettings, Object, String, ImageFormat) static settings, dataObject, fileName, format Creates an image file in the specified format from the chart with the specified settings and sends it as an action result.