ChartDirector 7.1 (.NET Edition)

BaseChart.makeChart2


Usage

[C#]public byte[] makeChart2(int format);
[VB]Public Function makeChart2(format As Integer) As Byte()

Description

Generates the chart as an image in memory.

The format argument specifies the image format to use, and must be one of the following constants:

ConstantValueDescription
PNG0The PNG format.
GIF1The GIF format.
JPG2The JPEG format.
BMP4The BMP format.
SVG5The SVG format.
SVGZ6The compressed SVG format.
PDF7The PDF format.

Arguments

ArgumentDefaultDescription
format(Mandatory)A constant specifying the image format to use.

Return Value

A byte array containing the binary image of the chart in the requested format.