[]
        
(Showing Draft Content)

C1.Document.C1TextSearchManager.FindStartAsyncEx

FindStartAsyncEx Method

FindStartAsyncEx(int, SearchScope, C1FindTextParams, bool)

Non-blocking (asynchronous) version of the FindStart(int, SearchScope, C1FindTextParams) method.

Declaration
public IAsyncOperationWithProgress<C1FoundPosition, double> FindStartAsyncEx(int startPageIndex, SearchScope scope, C1FindTextParams findParams, bool throwException)
Public Function FindStartAsyncEx(startPageIndex As Integer, scope As SearchScope, findParams As C1FindTextParams, throwException As Boolean) As IAsyncOperationWithProgress(Of C1FoundPosition, Double)
Parameters
Type Name Description
int startPageIndex

0-based index of the first page to search.

SearchScope scope

The search scope.

C1FindTextParams findParams

The text search parameters.

bool throwException

Whether to throw an exception if a document access error occurred while searching.

Returns
Type Description
IAsyncOperationWithProgress<C1FoundPosition, double>

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

FindStartAsyncEx(int, bool, C1FindTextParams, bool)

Non-blocking (asynchronous) version of the FindStart(int, bool, C1FindTextParams) method.

Declaration
public IAsyncOperationWithProgress<C1FoundPosition, double> FindStartAsyncEx(int startPageIndex, bool wholeDocument, C1FindTextParams findParams, bool throwException)
Public Function FindStartAsyncEx(startPageIndex As Integer, wholeDocument As Boolean, findParams As C1FindTextParams, throwException As Boolean) As IAsyncOperationWithProgress(Of C1FoundPosition, Double)
Parameters
Type Name Description
int startPageIndex

0-based index of the first page to search.

bool wholeDocument

Indicates whether whole document should be loaded during searching or to the first fragment found.

C1FindTextParams findParams

The text search parameters.

bool throwException

Whether to throw an exception if a document access error occurred while searching.

Returns
Type Description
IAsyncOperationWithProgress<C1FoundPosition, double>

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