Rotate Event

3D Graph Control

Rotate Event

Syntax

Sub ControlName_Rotate( NewLatitude As Variant, NewLongitude As Variant)

Applies To

CWGraph3D

Purpose

Generates the Rotate event when you rotate the graph.

Remarks

This event is generated only if CWGraph3D.TrackMode is set to cwG3DTrackZoomPanRotate.

You can rotate a graph by holding down the left mouse button and moving the mouse.

Parameters

NewLatitude As Variant

New latitude of the viewing position.

NewLongitude As Variant

New longitude of the viewing position.

Example

'Enables zooming, panning, and rotating the graph
CWGraph3D1.TrackMode = cwG3DTrackZoomPanRotate

See Also

ViewLatitude

ViewLongitude

Zoom

Pan

TrackMode

Rotating, Panning, and Zooming (concept)

Mouse Events (3D Graph) Example