Chart.WriteFromCache Method

Renders the output of a Chart object that has been cached as an image.

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

Syntax

'Declaration
Public Shared Function WriteFromCache ( _
    key As String, _
    format As String _
) As Chart
'Usage
Dim key As String 
Dim format As String 
Dim returnValue As Chart 

returnValue = Chart.WriteFromCache(key, _
    format)
public static Chart WriteFromCache(
    string key,
    string format
)
public:
static Chart^ WriteFromCache(
    String^ key, 
    String^ format
)
static member WriteFromCache : 
        key:string * 
        format:string -> Chart
public static function WriteFromCache(
    key : String, 
    format : String
) : Chart

Parameters

  • format
    Type: System.String
    The format of the image. The default is "jpeg".

Return Value

Type: System.Web.Helpers.Chart
The chart.

See Also

Reference

Chart Class

System.Web.Helpers Namespace