Back to Devexpress

PdfViewerControl.ScrollIntoView(PdfDocumentPosition, ScrollIntoViewMode) Method

wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfviewercontrol-dot-scrollintoview-x28-devexpress-dot-pdf-dot-pdfdocumentposition-devexpress-dot-xpf-dot-documentviewer-dot-scrollintoviewmode-x29.md

latest1.9 KB
Original Source

PdfViewerControl.ScrollIntoView(PdfDocumentPosition, ScrollIntoViewMode) Method

Scrolls a document into the specified document position.

Namespace : DevExpress.Xpf.PdfViewer

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

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public virtual void ScrollIntoView(
    PdfDocumentPosition position,
    ScrollIntoViewMode scrollMode
)
vb
Public Overridable Sub ScrollIntoView(
    position As PdfDocumentPosition,
    scrollMode As ScrollIntoViewMode
)

Parameters

NameTypeDescription
positionPdfDocumentPosition

A PdfDocumentPosition object that represents document position.

| | 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

PdfViewerControl Class

PdfViewerControl Members

DevExpress.Xpf.PdfViewer Namespace