GoDiagram Win Reference
ScrollLine Method

the number of lines to change the X coordinate of the DocPosition; positive increases, negative decreases
the number of lines to change the Y coordinate of the DocPosition; positive increases, negative decreases
Programmatically scroll the view by a "line" (a small change).
Syntax
'Declaration
 
Public Overridable Sub ScrollLine( _
   ByVal dx As Single, _
   ByVal dy As Single _
) 
public virtual void ScrollLine( 
   float dx,
   float dy
)

Parameters

dx
the number of lines to change the X coordinate of the DocPosition; positive increases, negative decreases
dy
the number of lines to change the Y coordinate of the DocPosition; positive increases, negative decreases
Remarks
This method does not depend on the existence of any scrollbars, but does depend on the value of ScrollSmallChange to determine a new value for DocPosition.
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
ScrollPage Method
ScrollRectangleToVisible Method
DisableKeys Property

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback