Skip to main content

PdfViewerControl.ScrollIntoView(PdfDocumentArea, ScrollIntoViewMode) Method

Scrolls a document into the specified document area.

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v23.2.dll

NuGet Package: DevExpress.Wpf.PdfViewer

Declaration

public virtual void ScrollIntoView(
    PdfDocumentArea area,
    ScrollIntoViewMode scrollMode
)

Parameters

Name Type Description
area PdfDocumentArea

A PdfDocumentArea object that is the current document area.

scrollMode DevExpress.Xpf.DocumentViewer.ScrollIntoViewMode

One of the DevExpress.Xpf.DocumentViewer.ScrollIntoViewMode enumeration values that specifies how the document is scrolled into view. The values are: Center, Edge, and TopLeft.

Remarks

The overloaded ScrollIntoView method uses the page coordinate system. See the Coordinate Systems topic to learn more.

See Also