www.Chart4.NET | Samples

Makes the chart image, in the specified size.

Namespace:  UnifoChart.Hierarchy
Assembly:  UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 2.6.0.0 (2.6)

Syntax

C#
public string GetChartImage(
	int Width,
	int Height,
	out Bitmap BitmapImage
)
Visual Basic (Declaration)
Public Function GetChartImage ( _
	Width As Integer, _
	Height As Integer, _
	<OutAttribute> ByRef BitmapImage As Bitmap _
) As String
Visual Basic (Usage)
Dim instance As HierarchyTools
Dim Width As Integer
Dim Height As Integer
Dim BitmapImage As Bitmap
Dim returnValue As String

returnValue = instance.GetChartImage(Width, _
	Height, BitmapImage)
Visual C++
public:
String^ GetChartImage(
	int Width, 
	int Height, 
	[OutAttribute] Bitmap^% BitmapImage
)
J#
public String GetChartImage(
	int Width,
	int Height,
	/** @attribute OutAttribute */ /** @ref */Bitmap BitmapImage
)
JScript
public function GetChartImage(
	Width : int, 
	Height : int, 
	BitmapImage : Bitmap
) : String
JavaScript
function GetChartImage(Width, Height, BitmapImage);

Parameters

Width
Type: System..::.Int32
Width of the resultant image
Height
Type: System..::.Int32
Height of the resultant image
BitmapImage
Type: System.Drawing..::.Bitmap %
The bitmap image to output the chart image

Return Value

Returns blank if succeeded, error message otherwise.

See Also