ChartDirector 6.0 (C++ Edition)

ViewPortManager.setViewPortWidth


Usage

void setViewPortWidth(double width);

Description

Sets the width of the viewport.

The viewport width is expressed as a fraction of the width of the underlying surface. It should be between 0 and 1.

Arguments

ArgumentDefaultDescription
width(Mandatory)The width of the viewport.

Return Value

None