ChartDirector 7.1 (C++ Edition)

DrawArea.load


Usage

bool load(const char *filename);

Description

Load an image file or resource into the current DrawArea, replacing any existing content.

Arguments

ArgumentDefaultDescription
filename(Mandatory)The pathname of the image file or resource, which must be of PNG, JPG or GIF format. Please refer to Path Specification on how ChartDirector interprets pathnames.

Return Value

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