ChartDirector 5.1 (Java Edition)

DrawArea.loadPNG


Usage

public boolean loadPNG(String 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.