DocumentViewer.OnBringIntoView(DependencyObject, Rect, Int32) Method

Definition

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

C#
protected override void OnBringIntoView(System.Windows.DependencyObject element, System.Windows.Rect rect, int pageNumber);

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9