FlexReport for WinForms | ComponentOne
C1.Win.Document.6 Assembly / C1.Win.Document Namespace / C1TextSearchManager Class / FindStartAsyncEx Method / FindStartAsyncEx(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
    FindStartAsyncEx(Int32,Boolean,C1FindTextParams,Boolean) Method
    In This Topic
    Non-blocking (asynchronous) version of the FindStart(Int32,Boolean,C1FindTextParams) method.
    Syntax
    'Declaration
     
    Public Overloads Function FindStartAsyncEx( _
       ByVal startPageIndex As Integer, _
       ByVal wholeDocument As Boolean, _
       ByVal findParams As C1FindTextParams, _
       ByVal throwException As Boolean _
    ) As IAsyncOperationWithProgress(Of C1FoundPosition,Double)

    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

    The IAsyncOperationWithProgress<TResult,TProgress> interface that can be used to manage asynchronous operation.
    See Also