Edit

Share via


DocumentViewerBase.GoToPage(Int32) Method

Definition

Causes the viewer to jump to a specified page number.

public:
 void GoToPage(int pageNumber);
public void GoToPage (int pageNumber);
member this.GoToPage : int -> unit
Public Sub GoToPage (pageNumber As Integer)

Parameters

pageNumber
Int32

The number of the page to jump to.

Remarks

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

Applies to

See also