ChartDirector 6.0 (C++ Edition)

ViewPortManager.canZoomOut


Usage

bool canZoomOut(int zoomDirection);

Description

Checks if it is possible to zoom out further at a certain direction without violating zoom out limits.

See ViewPortManager.setZoomOutWidthLimit and ViewPortManager.setZoomOutHeightLimit on how to configure zoom out limits.

Arguments

ArgumentDefaultDescription
zoomDirection(Mandatory)The zoom direction to check. Must be one of the predefined constants DirectionHorizontal, DirectionVertical and DirectionHorizontalVertical for horizontal, vertical and bi-directional zooming.

Return Value

True if can zoom out further, otherwise false.