Link Search Menu Expand Document

ITextExtractorFindAll Method

Searches for all occurrences of specified text in specified document page or in entire document.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
ISearchResult[] FindAll(
	int pageIndex,
	string text,
	bool caseSensitive
)

Parameters

pageIndex
Type: SystemInt32
Index of page for searching. Use -1 to search the entire document.
text
Type: SystemString
Text to find.
caseSensitive
Type: SystemBoolean
Case sensitivity.

Return Value

Type: ISearchResult
Array of search results.
Remarks
Use WordMatchingMode to change the word matching mode. Use WordMatchingPunctuationMarks if you need punctuation marks (dot, quotes etc) to be treated as part of word. Use RegexSearch to enable regular expressions (Regex).
See Also

Reference