AVEVA OMI Software Developer Kit



instance of scrollViewer
horizontal delta value by which to scroll
vertical delta value by which to scroll
ScrollToOffset Method
Scrolls in both horizontal and vertical directions by the given offset value.
Syntax
'Declaration
 
Public Shared Sub ScrollToOffset( _
   ByVal scrollViewer As ScrollViewer, _
   ByVal horizontalDelta As Double, _
   ByVal verticalDelta As Double _
) 
'Usage
 
Dim scrollViewer As ScrollViewer
Dim horizontalDelta As Double
Dim verticalDelta As Double
 
ScrollViewerHelper.ScrollToOffset(scrollViewer, horizontalDelta, verticalDelta)
public static void ScrollToOffset( 
   ScrollViewer scrollViewer,
   double horizontalDelta,
   double verticalDelta
)
public:
static void ScrollToOffset( 
   ScrollViewer^ scrollViewer,
   double horizontalDelta,
   double verticalDelta
) 

Parameters

scrollViewer
instance of scrollViewer
horizontalDelta
horizontal delta value by which to scroll
verticalDelta
vertical delta value by which to scroll
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