PdfTextExtractSearchText(String, String, Int32, Boolean, Boolean) Method

Call this method to search a text in a PDF file starting from a PDF page number to the end of the PDF document

Definition

Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
C#
public PdfTextSearchItem[] SearchText(
	string pdfFile,
	string text,
	int firstPdfPageNumber,
	bool matchCase,
	bool matchWholeWord
)

Parameters

pdfFile  String
The fully qualified name of the PDF file
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

Return Value

PdfTextSearchItem
An array containing the searched text instances in PDF document

See Also