VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Text Namespace / TextSearchEngine Class / Find(String,Int32,Int32,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
Find(String,Int32,Int32,Boolean) Method (TextSearchEngine)
In This Topic
Searches the first text matching in the string of page.
Syntax
'Declaration

Public MustOverride Function Find( _
ByVal sourceString
Source string (text of page) where text must be searched.
As System.String, _
ByVal startIndex
The zero-based index, in the sourceString, from which text must be searched.
As System.Int32, _
ByVal length
The number of characters, in the sourceString, to analyze.
As System.Int32, _
ByVal rightToLeft
A value indicating whether the text should be searched from right to left.
As Boolean _
) As TextSearchResult
public abstract TextSearchResult Find(
System.String sourceString,
System.Int32 startIndex,
System.Int32 length,
bool rightToLeft
)

Parameters

sourceString
Source string (text of page) where text must be searched.
startIndex
The zero-based index, in the sourceString, from which text must be searched.
length
The number of characters, in the sourceString, to analyze.
rightToLeft
A value indicating whether the text should be searched from right to left.

Return Value

TextSearchResult object that contains information about searched text if text is found; otherwise, null.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also