Pan Event
Syntax
Sub ControlName_Pan( NewXCenter As Variant, NewYCenter As Variant, NewZCenter As Variant)
Applies To
Purpose
Generates the Pan event when you pan the graph up and down or left and right.
Remarks
This event is generated only if CWGraph3D.TrackMode is cwG3DTrackZoomPanRotate.
Panning is performed by holding down the
Parameters
NewXCenter As Variant
New x coordinate of the center of the view.
NewYCenter As Variant
New y coordinate of the center of the view.
NewZCenter As Variant
New z coordinate of the center of the view.
Example
'Enables zooming, panning, and rotating the graph
CWGraph3D1.TrackMode = cwG3DTrackZoomPanRotate