GoToPage Method

DocumentViewerBase.GoToPage Method (Int32)


Causes the viewer to jump to a specified page number.

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

member GoToPage : 
        pageNumber:int -> unit


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
© 2016 Microsoft