VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Text Namespace / TextRegion Class / FindText Methods / FindText(TextSearchEngine,Int32,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
    FindText(TextSearchEngine,Int32,Boolean) Method (TextRegion)
    In This Topic
    Finds the text in this text region using specified TextSearchEngine.
    Syntax
    'Declaration
    
    Public Overloads Function FindText( _
    ByVal searchEngine
    Text search engine that determines which text to find and how to find the text.
    As TextSearchEngine, _
    ByRef startIndex
    Zero-based start position in text region.
    As System.Int32, _
    ByVal searchUp
    A value indicating whether the text must be searched from current position in text region to the beginning of text region.
    As Boolean _
    ) As TextRegion
    public TextRegion FindText(
    TextSearchEngine searchEngine,
    ref System.Int32 startIndex,
    bool searchUp
    )
    public: TextRegion* FindText(
    TextSearchEngine* searchEngine,
    ref System.Int32 startIndex,
    bool searchUp
    )

    Parameters

    searchEngine
    Text search engine that determines which text to find and how to find the text.
    startIndex
    Zero-based start position in text region.
    searchUp
    A value indicating whether the text must be searched from current position in text region to the beginning of text region.

    Return Value

    TextRegion if text is found; otherwise, null.
    Requirements

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

    See Also