Call this method to search a text in a PDF file
Namespace: HiQPdf
Assembly: HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax
public PdfTextSearchItem[] SearchText( string pdfFile, string text, bool matchCase, bool matchWholeWord )
Parameters
- pdfFile
- Type: SystemString
The fully qualified name of the PDF file - text
- Type: SystemString
The text to search - matchCase
- Type: SystemBoolean
Controls if the search should match case - matchWholeWord
- Type: SystemBoolean
Controls if the search should match whole words
Return Value
Type: PdfTextSearchItemAn array containing the searched text instances in PDF document
See Also