Redigera

Dela via


DocumentViewer.OnBringIntoView(DependencyObject, Rect, Int32) Method

Definition

Responds to the OnBringIntoView(DependencyObject, Rect, Int32) method from the DocumentViewerBase implementation.

protected:
 override void OnBringIntoView(System::Windows::DependencyObject ^ element, System::Windows::Rect rect, int pageNumber);
protected override void OnBringIntoView (System.Windows.DependencyObject element, System.Windows.Rect rect, int pageNumber);
override this.OnBringIntoView : System.Windows.DependencyObject * System.Windows.Rect * int -> unit
Protected Overrides Sub OnBringIntoView (element As DependencyObject, rect As Rect, pageNumber As Integer)

Parameters

element
DependencyObject

The object to make visible.

rect
Rect

The rectangular region of the element to make visible.

pageNumber
Int32

The number of the page to be viewed.

Remarks

The base implementation will move the master page to the page on which the element occurs.

Applies to