FlowDocumentReader.CanGoToPage 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.

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

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

public 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

true if the FlowDocumentReader is able to jump to the specified page number; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: