GoDiagram Win Reference
ComputeAutoScrollDocPosition Method

The mouse point, in view coordinates.
This method is called to determine the next position in the document for this view, given a point at which the user is dragging the mouse.
Syntax
'Declaration
 
Public Overridable Function ComputeAutoScrollDocPosition( _
   ByVal viewPnt As Point _
) As PointF
public virtual PointF ComputeAutoScrollDocPosition( 
   Point viewPnt
)

Parameters

viewPnt
The mouse point, in view coordinates.
Remarks
This uses the AutoScrollRegion and ScrollSmallChange properties to calculate a new DocPosition. The closer the point is to the edge of the view, the larger a multiple of the ScrollSmallChange is used as a scroll step in that direction.
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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback