Document Library for WinForms | ComponentOne
C1.Win.C1Document.4.8 Assembly / C1.Win.C1Document Namespace / C1TextSearchManager Class / FindStartAsync Method / FindStartAsync(Int32,SearchScope,C1FindTextParams,Boolean) Method
0-based index of the first page to search.
The search scope.
The text search parameters.
Whether to throw an exception if a document access error occurred while searching.

In This Topic
    FindStartAsync(Int32,SearchScope,C1FindTextParams,Boolean) Method
    In This Topic
    Non-blocking (asynchronous) version of the FindStart(Int32,SearchScope,C1FindTextParams) method.
    Syntax
    'Declaration
     
    Public Overloads Function FindStartAsync( _
       ByVal startPageIndex As Integer, _
       ByVal scope As SearchScope, _
       ByVal findParams As C1FindTextParams, _
       ByVal throwException As Boolean _
    ) As Task(Of C1FoundPosition)

    Parameters

    startPageIndex
    0-based index of the first page to search.
    scope
    The search scope.
    findParams
    The text search parameters.
    throwException
    Whether to throw an exception if a document access error occurred while searching.

    Return Value

    Asynchronous object representing the found text position.
    See Also