Search

Top  Previous  Next

 

The Search method is used to programmatically search for occurrences of a text string in the document, list results in the search panel, and then navigate to the first occurrence of the search text on PDFViewer. The first occurrence will be highlighted on PDFViewer.

 

 

Syntax

 

[VC++]

void Search(LPCTSTR ASearchText, BOOL ACaseSearch, BOOL AWholeSearch);

 

[CS]

public abstract new void Search (System.String ASearchText , System.Boolean ACaseSearch , System.Boolean AWholeSearch)

 

[VB]

Sub Search(ASearchText As String, ACaseSearch As Boolean, AWholeSearch As Boolean)

 

 

 

Parameters

ASearchText

text string whose occurrences in the document need to be searched

 

ACaseSearch

whether the search is case-sensitive

 

AWholeSearch

whether search should find instances of the complete string Asearchtext rather than parts of it