ChartDirector 7.0 (Python Edition)

DrawArea.loadPNG


Usage

loadPNG(filename)

Description

Load a PNG image or resource into the current DrawArea, replacing any existing content.

Arguments

ArgumentDefaultDescription
filename(Mandatory)The pathname of the image file or resource. Please refer to Path Specification on how ChartDirector interprets pathnames.

Return Value

A true (non-zero) value indicates no error. A false (zero) value indicates the operation is unsuccessful.