MindFusion.Charting Programmer's Guide

Chart.GenerateMetafile Method (HttpSessionState, String)

See Also
 





Creates a Metafile image of a chart.

Namespace: MindFusion.Charting.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public static Metafile GenerateMetafile (
    HttpSessionState session,
    string id
)

Visual Basic  Copy Code

Public Shared Function GenerateMetafile ( _
    session As HttpSessionState, _
    id As String _
) As Metafile

JavaScript  Copy Code

function GenerateMetafile (session, id)

 Parameters

session
An idnetifier of the http session.
id
An ASP.NET html identifier of the chart.

 Return Value

A Metafile image instance picturing the chart.

 Remarks

The method is used by the chart HTTP request processor page to get an image of the respective chart.

 See Also