DocumentViewerBase.GoToPage Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Causes the viewer to jump to a specified page number.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public void GoToPage(
	int pageNumber
)

Parameters

pageNumber
Type: System.Int32

The number of the page to jump to.

If pageNumber specifies an invalid page to go to (as indicated by the CanGoToPage method), this method does nothing.

.NET Framework
Available since 3.0
Return to top
Show: