PdfTextExtractSearchText(Byte, String, Int32, Boolean, Boolean) Method
Call this method to search text in a PDF document contained in a memory buffer starting from a PDF page number to the end of the PDF document
Namespace: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 18.0.0
public PdfTextSearchItem[] SearchText(
byte[] pdfBuffer,
string text,
int firstPdfPageNumber,
bool matchCase,
bool matchWholeWord
)
- pdfBuffer Byte
- The PDF document memory buffer
- text String
- The text to search
- firstPdfPageNumber Int32
- The first PDF page number
- 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