PdfToTextConverterExtractTextPositions(String, String, Boolean, Boolean) Method |
Searches for a text into a PDF file.
Namespace: ExpertPdf.AnywhereAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic TextPosition[] ExtractTextPositions(
string pdfFilePath,
string textToSearch,
bool caseSensitive,
bool wholeWord
)
Public Function ExtractTextPositions (
pdfFilePath As String,
textToSearch As String,
caseSensitive As Boolean,
wholeWord As Boolean
) As TextPosition()
Parameters
- pdfFilePath String
- The path of the file containing the PDF document.
- textToSearch String
- Text that is being search for in the PDF document.
- caseSensitive Boolean
- Specifies if the search is case sensitive.
- wholeWord Boolean
- Specifies if the search looks for whole words only or not.
Return Value
TextPositionAn array with all text positions that match the search conditions.
RemarksArabic text is found whether the document maps its glyphs to the letters or to their
presentation forms.
See Also