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: HiQPdf
Assembly: HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax
public PdfTextSearchItem[] SearchText( byte[] pdfBuffer, string text, int firstPdfPageNumber, bool matchCase, bool matchWholeWord )
Parameters
- pdfBuffer
- Type: SystemByte
The PDF document memory buffer - text
- Type: SystemString
The text to search - firstPdfPageNumber
- Type: SystemInt32
The first PDF page number - 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