Link Search Menu Expand Document

ITextExtractorFind Method (Int32, String, RegexOptions)

Searches the document page for specified text in Regex mode with specified options.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
bool Find(
	int pageIndex,
	string text,
	RegexOptions regexOptions
)

Parameters

pageIndex
Type: SystemInt32
Index of page to search in.
text
Type: SystemString
Search string.
regexOptions
Type: System.Text.RegularExpressionsRegexOptions
Combination of RegexOptions.

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.
See Also

Reference