DocumentViewerBase.CanGoToPage Method (Int32)

 

Returns a value that indicates whether or the viewer is able to jump to the specified page number.

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

Public Overridable Function CanGoToPage (
	pageNumber As Integer
) As Boolean

Parameters

pageNumber
Type: System.Int32

A page number to check for as a valid jump target.

Return Value

Type: System.Boolean

A Boolean value that indicates whether or the viewer is able to jump to the specified page number.

.NET Framework
Available since 3.0
Return to top
Show: