GoDiagram Win Reference
DoAutoPan Method

the original panning point, in view coordinates
the current mouse point, in view coordinates
Start or continue scrolling the view according to the relative position of the viewPnt compared to the originPnt.
Syntax
'Declaration
 
Public Overridable Sub DoAutoPan( _
   ByVal originPnt As Point, _
   ByVal viewPnt As Point _
) 
public virtual void DoAutoPan( 
   Point originPnt,
   Point viewPnt
)

Parameters

originPnt
the original panning point, in view coordinates
viewPnt
the current mouse point, in view coordinates
Remarks

This uses the same mechanisms as DoAutoScroll -- do not try to auto-scroll and auto-pan at the same time. Automatic panning occurs in the area outside of the region specified by AutoPanRegion surrounding the originPnt.

This is normally called from GoToolPanning.GoToolPanning.DoMouseMove.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoView Class
GoView Members
StopAutoScroll Method
AutoScrollDelay Property
AutoScrollTime Property

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback