ChartDirector 7.1 (C++ Edition)
ViewPortManager.validateViewPort
Usage
void validateViewPort();
Description
Ensures the viewport left, top, width and height are within valid ranges and adjusts them if necessary.
The valid ranges of the viewport width and height should be 0 to 1. The viewport left should be in between 0 and (1 - viewport width). The viewport top should be in between 0 and (1 - viewport height).
Arguments
None
Return Value
None
© 2023 Advanced Software Engineering Limited. All rights reserved.