Search Method

PDFTron SilverDox SDK

Collapse imageExpand ImageCopy imageCopyHover image
Searches the entire document for the specified string and populates the control's ListBox with the results.

Namespace: PDFTron.SilverDox.Controls
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010

Syntax

C#
public void Search(
	string searchString,
	TextSearch..::..SearchModes textSearchModes
)
Visual Basic
Public Sub Search ( _
	searchString As String, _
	textSearchModes As TextSearch..::..SearchModes _
)
Visual C++
public:
void Search(
	String^ searchString, 
	TextSearch..::..SearchModes textSearchModes
)

Parameters

searchString
Type: System..::..String
The string to search for in the DocumentViewer's Document.
textSearchModes
Type: PDFTron.SilverDox.Documents.Text..::..TextSearch..::..SearchModes
The TextSearch..::..SearchModes for the search. Only WholeWord and CaseSensitive are relevant for the whole document search.

See Also