PdfTextExtractSearchText(String, String, Boolean, Boolean) Method
Call this method to search a text in a PDF file
Namespace: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 18.0.0
public PdfTextSearchItem[] SearchText(
string pdfFile,
string text,
bool matchCase,
bool matchWholeWord
)
- pdfFile String
- The fully qualified name of the PDF file
- text String
- The text to search
- matchCase Boolean
- Controls if the search should match case
- matchWholeWord Boolean
- Controls if the search should match whole words
PdfTextSearchItemAn array containing the searched text instances in PDF document