This method controls the zooming operation of the camera. The Distance parameter specifies the distance from the ground at the center point of the 3D window where the zoom operation stops.
HRESULT Zoom(
[in] double Distance,
[in, optional, defaultvalue(0)] long Flags)
Parameters:
Distance – The distance from the camera to the ground at the center point of the 3D window.
Flags – Reserved. Currently not used.
Return Values:
The return value obtained from the returned HRESULT can be one of the following:
Return value |
Meaning |
S_OK |
Success. |
TE_E_MPTNOTLOADED |
An MPT file must be loaded in TerraExplorer for this method to work. |