PdfTextExtractSearchText(Byte, String, Boolean, Boolean) Method

Call this method to search text in a PDF document contained in a memory buffer

Definition

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

Parameters

pdfBuffer  Byte
The PDF document memory buffer
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

Return Value

PdfTextSearchItem
An array containing the searched text instances in PDF document

See Also