DocumentViewerBase.CanGoToPage(Int32) 方法

定义

返回一个值,该值指示查看器是否能跳转到指定的页码。Returns a value that indicates whether or the viewer is able to jump to the specified page number.

public:
 virtual bool CanGoToPage(int pageNumber);
public virtual bool CanGoToPage (int pageNumber);
abstract member CanGoToPage : int -> bool
override this.CanGoToPage : int -> bool
Public Overridable Function CanGoToPage (pageNumber As Integer) As Boolean

参数

pageNumber
Int32

作为有效的跳转目标检查的页码。A page number to check for as a valid jump target.

返回

指示查看器是否能跳转到指定的页码的布尔值。A Boolean value that indicates whether or the viewer is able to jump to the specified page number.

适用于

另请参阅