PdfTextExtractSearchText(String, String, Int32, Int32, Boolean, Boolean) Method
Call this method search a text in a range of pages of a PDF file
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public PdfTextSearchItem[] SearchText(
string pdfFile,
string text,
int firstPdfPageNumber,
int lastPdfPageNumber,
bool matchCase,
bool matchWholeWord
)
Public Function SearchText (
pdfFile As String,
text As String,
firstPdfPageNumber As Integer,
lastPdfPageNumber As Integer,
matchCase As Boolean,
matchWholeWord As Boolean
) As PdfTextSearchItem()
public:
array<PdfTextSearchItem^>^ SearchText(
String^ pdfFile,
String^ text,
int firstPdfPageNumber,
int lastPdfPageNumber,
bool matchCase,
bool matchWholeWord
)
member SearchText :
pdfFile : string *
text : string *
firstPdfPageNumber : int *
lastPdfPageNumber : int *
matchCase : bool *
matchWholeWord : bool -> PdfTextSearchItem[]
- pdfFile String
- The fully qualified name of the PDF file
- text String
- The text to search
- firstPdfPageNumber Int32
- The first PDF page number
- lastPdfPageNumber Int32
- The last 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