oTView.ZoomTime nType, nFixed, vPar1, vPar2
|nType||(Long) Type of setting the range. See the configurator "Range of time axis [sec]".|
1 - vPar1, vPar2 is a new time of the left and right viewer edge (Date data type).
If a relative time is displayed by the time axis (the date is not shown, on the time axis there is the time, for example from 0 sec to 10 sec), then the time must be set explicitely with stating the data type, oTView.ZoomTime(1, 0, CDate(0), CDate(10/24/3600)), which corresponds to the range of the time axis from 0 to 10 seconds.
10,11 - Decrease, increase of the range automatically according to the table. Set vPar1, vPar2 to 0.
20 - Change of the zoom with the preservation of the time according to nFixed parameter. There is the multiple of the time axis current length in vPar1, for example 2=increasing the range, 0.5=decreasing the range. Set vPar2 to 0.
21 - Change of the zoom with the preservation of the time according to nFixed. There is a new range in vPar1, a real number that refers to the multiple of the days number, is entered, for example 2 means the range of 2 days, 0.5 means the range of 12 hours, 1/24/60 means the range of 1 minute, etc. Set vPar2 parameter to 0.
|nFixed||(Long) Specifies the fixed part while zooming|
1 - Zoom with the preservation of the left edge time
2 - Zoom with the preservation of the right edge time
3 - Zoom with the preservation of the center time
4 - Zoom with the preservation of the cursor time
|vPar1||(Variant) The meaning according to setting nType.|
|vPar2||(Variant) The meaning according to setting nType.|
The method is used only if the graphic mode is set.