GoDiagram Win Reference
ScrollPage Method

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

Parameters

dx
the number of pages to change the X coordinate of the DocPosition; positive increases, negative decreases
dy
the number of pages 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 values of DocExtentSize and ScrollSmallChange to determine a new value for DocPosition that is a "line" less than one full "page" away from the old position times the factor provided by the parameters for each 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
ScrollLine Method
ScrollRectangleToVisible Method
DisableKeys Property

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback