PdfViewer.ContinueSearchFrom Property

Gets or sets where the PDF Viewer continues its search after you scroll a document.

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v20.1.dll


public PdfContinueSearchFrom ContinueSearchFrom { get; set; }
Public Property ContinueSearchFrom As PdfContinueSearchFrom

Property Value

Type Description

A PdfContinueSearchFrom enumeration value. The default is CurrentPage.


The following code snippet shows how to scroll your document to a specific page and continue your search from this page.

// Specify that your search should always continue from the current page.
pdfViewer1.ContinueSearchFrom = DevExpress.XtraPdfViewer.PdfContinueSearchFrom.CurrentPage;

// Start your search.

// Process the search results.
// ...

// Change the current page.
pdfViewer1.CurrentPageNumber = 100;

// Continue your search.
See Also