 |
PdfToTextSearch Method (String, Boolean, Boolean) |
Search for a specific text in a PDF document.
Namespace:
SelectPdf
Assembly:
Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntaxpublic TextPosition[] Search(
string textToSearch,
bool caseSensitive,
bool wholeWordsOnly
)
Public Function Search (
textToSearch As String,
caseSensitive As Boolean,
wholeWordsOnly As Boolean
) As TextPosition()
Parameters
- textToSearch
- Type: SystemString
Text to search. - caseSensitive
- Type: SystemBoolean
If the search is case sensitive or not. - wholeWordsOnly
- Type: SystemBoolean
If the search works on whole words or not.
Return Value
Type:
TextPositionArray with text positions in the current PDF document.
Remarks
See Also