ChartDirector 7.1 (C++ Edition)

DrawArea.setSize


Usage

void setSize(int width, int height, int bgColor = 0xffffff);

Description

Sets the size and background color of the drawing surface.

Arguments

ArgumentDefaultDescription
width(Mandatory)The width of the drawing surface in pixels.
height(Mandatory)The height of the drawing surface in pixels.
bgColorFFFFFFThe background color of the drawing surface.

Return Value

None