PdfToTextClientsearchFile Method (String, String, Boolean, Boolean) |
Search for a specific text in a PDF document.
Namespace:
SelectPdf.Api
Assembly:
SelectPdf.Api (in SelectPdf.Api.dll) Version: 1.4.0
Syntax public IList<TextPosition> searchFile(
string inputPdf,
string textToSearch,
bool caseSensitive,
bool wholeWordsOnly
)
Public Function searchFile (
inputPdf As String,
textToSearch As String,
caseSensitive As Boolean,
wholeWordsOnly As Boolean
) As IList(Of TextPosition)
Parameters
- inputPdf
- Type: SystemString
Path to a local PDF file. - 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:
IListTextPositionList with text positions in the current PDF document.
Remarks See Also