ChartDirector 5.1 (PHP Edition)

DrawArea.loadJPG


Usage

loadJPG(filename)

Description

Load a JPG 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 (non-zero) value indicates no error. A false (zero) value indicates the operation is unsuccessful.