ChartDirector 5.1 (.NET Edition)

DrawArea.load


Usage

[VB] Public Function load(filename As String) As Boolean
[C#] public bool load(string filename);

Description

Load an image file into the current DrawArea.

This method will overwrite the current DrawArea. The image type is determined based on file extension, which must be png, jpg/jpeg, gif or wbmp/wmp.

Arguments

ArgumentDefaultDescription
filename(Mandatory)The filename of the image to be loaded.

Return Value

A true value indicates no error. A false value indicates the operation is unsuccessful.