PdfTextExtractSearchText(Stream, String, Int32, Boolean, Boolean) Method
Call this method to search a text in a PDF document contained in a stream starting from a PDF page number to the end of the PDF document
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public PdfTextSearchItem[] SearchText(
Stream pdfStream,
string text,
int firstPdfPageNumber,
bool matchCase,
bool matchWholeWord
)
Public Function SearchText (
pdfStream As Stream,
text As String,
firstPdfPageNumber As Integer,
matchCase As Boolean,
matchWholeWord As Boolean
) As PdfTextSearchItem()
public:
array<PdfTextSearchItem^>^ SearchText(
Stream^ pdfStream,
String^ text,
int firstPdfPageNumber,
bool matchCase,
bool matchWholeWord
)
member SearchText :
pdfStream : Stream *
text : string *
firstPdfPageNumber : int *
matchCase : bool *
matchWholeWord : bool -> PdfTextSearchItem[]
- pdfStream Stream
- The PDF document stream
- 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