Pan Event

3D Graph Control

Pan Event

Syntax

Sub ControlName_Pan( NewXCenter As Variant, NewYCenter As Variant, NewZCenter As Variant)

Applies To

CWGraph3D

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 key and the left mouse button and moving the mouse.

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

See Also

ViewXCenter

ViewYCenter

ViewZCenter

Zoom

Rotate

TrackMode

Rotating, Panning, and Zooming (concept)

Mouse Events (3D Graph) Example