O2S.Components.PDF4NET.View.Win Documentation
ScrollToPageLocation Method



O2S.Components.PDF4NET.View Namespace > PDFDocumentView Class : ScrollToPageLocation Method
The page to scroll to.
Location's x coordinate on the page where to scroll.
Location's Y coordinate on the page where to scroll.
Scrolls the viewer to the specified page at the given location.
Syntax
'Declaration
 
Public Sub ScrollToPageLocation( _
   ByVal visualPage As PDFVisualPage, _
   ByVal x As Double, _
   ByVal y As Double _
) 
'Usage
 
Dim instance As PDFDocumentView
Dim visualPage As PDFVisualPage
Dim x As Double
Dim y As Double
 
instance.ScrollToPageLocation(visualPage, x, y)
public void ScrollToPageLocation( 
   PDFVisualPage visualPage,
   double x,
   double y
)
public:
void ScrollToPageLocation( 
   PDFVisualPage^ visualPage,
   double x,
   double y
) 

Parameters

visualPage
The page to scroll to.
x
Location's x coordinate on the page where to scroll.
y
Location's Y coordinate on the page where to scroll.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PDFDocumentView Class
PDFDocumentView Members