Link Search Menu Expand Document

TextExtractorFind Method (Int32, String, Boolean)

Searches the document page for specified text.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public 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.

Implements

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