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:
virtual bool CanGoToPage(
	int pageNumber
)

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: