ITextExtractorFind Method (Int32, String, Boolean)ByteScout PDF Extractor SDK
Searches the document page for specified text.

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

bool Find(
	int pageIndex,
	string text,
	bool caseSensitive
)

Parameters

pageIndex
Type: SystemInt32
Index of page to search in.
text
Type: SystemString
Search string.
caseSensitive
Type: SystemBoolean
Case sensitivity.

Return Value

Type: Boolean
true if the search string is found; otherwise false.
Remarks

Use FoundText property to get search result information (text, location, sub-elements). 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