Link Search Menu Expand Document

ITextExtractorFind Method (Int32, String, Boolean)

Searches the document page for specified text.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.0.1.4281-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


Copyright © 2016 - 2021 ByteScout