.NET Framework Class Library

DocumentViewer.GoToPage Method (Int32, Single, Single)

<< Click to Display Table of Contents >>

Navigation:  Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Controls.WinForms Namespace > DocumentViewer Class > DocumentViewer Methods > GoToPage Method  >

.NET Framework Class Library

DocumentViewer.GoToPage Method (Int32, Single, Single)

Changes contents of the viewer to specified page and positions the top-left corner of the viewer at specified position on the page.

Namespace: Gnostice.Controls.WinForms

Assembly:  Gnostice.Controls.WinForms (in Gnostice.Controls.WinForms.dll)

Syntax

Visual Basic

Public Sub GoToPage ( _
 pageNumber As Integer, _
 x As Single, _
 y As Single _
)

C#

public void GoToPage(
 int pageNumber,
 float x,
 float y
)

Visual C++

public:
virtual void GoToPage(
 int pageNumber,
 float x,
 float y
sealed

Parameters

pageNumber

Type: System.Int32

Number of the page.

x

Type: System.Single

X\-coordinate of the location on the page where the top\-left corner of the page.

y

Type: System.Single

Y\-coordinate of the location on the page where the top\-left corner of the page.

Implements

IView.GoToPage(Int32, Single, Single)

See Also

DocumentViewer Class

DocumentViewer Members

GoToPage Overload

Gnostice.Controls.WinForms Namespace