ITextExtractorFindAll Method ByteScout PDF Extractor SDK
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: 12.0.0.4062-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