TextExtractorFind Method (Int32, String, RegexOptions)ByteScout PDF Extractor SDK
Searches the document page for specified text in Regex mode with specified options.

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

public 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.

Implements

ITextExtractorFind(Int32, String, RegexOptions)
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