![]() |



Function |
Declared in: NiGraph3DEvents.h |
Declaration
void OnRotate( VARIANT FAR* NewLatitude, VARIANT FAR* NewLongitude);
Description
Generated when you rotate the graph.
Notes:
1. This event is generated only if the CNiGraph.TrackMode property is set to TrackZoomPanRotate.
2. Rotating is performed by holding down the left mouse button and moving the mouse.
Parameters
VARIANT FAR* NewLatitude
VARIANT FAR* NewLongitude
Variant containing the new latitude of the viewing position.
Note: Use CNiVariant to get to the underlying data.
Variant containing the new longitude of the viewing position.
Note: Use CNiVariant to get to the underlying data.
See Also
Example
void OnRotateCwgraph3d1(VARIANT FAR* NewLatitude, VARIANT FAR* NewLongitude) { if (CNiVariant(NewLatitude) > 90) { *NewLatitude = CNiVariant(90); } }