ChartDirector 5.1 (.NET Edition)

WinChartViewer.validateViewPort


Usage

[VB] Public Sub validateViewPort()
[C#] public void validateViewPort();

Description

Ensures the view port left, top, width and height are within valid ranges and adjusts them if necessary.

The valid ranges of the view port width and height should be 0 to 1. The view port left should be in between 0 and (1 - view port width). The view port top should be in between 0 and (1 - view port height).

Arguments

None

Return Value

None