ITextExtractorFindAllToJSON Method ByteScout PDF Extractor SDK
Searches for all occurrences of specified text in specified document page or in entire document and returns result as JSON string.

Namespace:  Bytescout.PDFExtractor
Assembly:  Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.1.4801-master
Syntax

string FindAllToJSON(
	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: String
JSON string with 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