Chart.ToWebImage(String) Method

Definition

Creates a WebImage object based on the current Chart object.

public System.Web.Helpers.WebImage ToWebImage (string format = "jpeg");
member this.ToWebImage : string -> System.Web.Helpers.WebImage
Public Function ToWebImage (Optional format As String = "jpeg") As WebImage

Parameters

format
String

The format of the image to save the WebImage object as. The default is "jpeg". The format parameter is not case sensitive.

Returns

The chart.

Applies to