ChartDirector 6.0 (C++ Edition)

DrawArea.loadPNG


Usage

bool loadPNG(const char *filename);

Description

Load a PNG image into the current DrawArea.

This method will overwrite the current DrawArea.

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.