FlexReport for .NET | ComponentOne
C1.Win.Document.8 Assembly / C1.Win.Document Namespace / C1TextSearchManager Class / FindStartAsync Method / FindStartAsync(Int32,Boolean,C1FindTextParams,Boolean) Method
0-based index of the first page to search.
Indicates whether whole document should be loaded during searching or to the first fragment found.
The text search parameters.
Whether to throw an exception if a document access error occurred while searching.

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

    Parameters

    startPageIndex
    0-based index of the first page to search.
    wholeDocument
    Indicates whether whole document should be loaded during searching or to the first fragment found.
    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