Chart.ToWebImage Method
Creates a WebImage object based on the current Chart object.
Namespace: System.Web.Helpers
Assembly: System.Web.Helpers (in System.Web.Helpers.dll)
Syntax
'Declaration
Public Function ToWebImage ( _
format As String _
) As WebImage
'Usage
Dim instance As Chart
Dim format As String
Dim returnValue As WebImage
returnValue = instance.ToWebImage(format)
public WebImage ToWebImage(
string format
)
public:
WebImage^ ToWebImage(
String^ format
)
member ToWebImage :
format:string -> WebImage
public function ToWebImage(
format : String
) : WebImage
Parameters
- format
Type: System.String
The format of the image to save the WebImage object as. The default is "jpeg". The format parameter is not case sensitive.
Return Value
Type: System.Web.Helpers.WebImage
The chart.