Chart.FetchImageFormat Method
The ChartImageType enumeration, which is a subset of the ChartImageFormat enumeration.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.Server.Chart (in Microsoft.Office.Server.Chart.dll)
Syntax
'Declaration
Public Shared Function FetchImageFormat ( _
chartImageType As ChartImageType _
) As ChartImageFormat
'Usage
Dim chartImageType As ChartImageType
Dim returnValue As ChartImageFormat
returnValue = Chart.FetchImageFormat(chartImageType)
public static ChartImageFormat FetchImageFormat(
ChartImageType chartImageType
)
Parameters
- chartImageType
Type: System.Web.UI.DataVisualization.Charting.ChartImageType
The ChartImageType object to be converted to the ChartImageFormat object.
Return Value
Type: System.Web.UI.DataVisualization.Charting.ChartImageFormat
Returns ChartImageFormat.
Remarks
The ChartImageType enumeration is a subset of the ChartImageFormat enumeration. An explicit conversion is required because the integer values of the items in the two enumerations are different.