ComponentOne Document Library for WinForms
FindStartAsync(Int32,Boolean,C1FindTextParams,Boolean) Method

C1.Win.C1Document.4 Assembly > C1.Win.C1Document 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.
Non-blocking (asynchronous) version of the FindStart(Int32,Boolean,C1FindTextParams) method.
Syntax
'Declaration
 
Public Overloads Function FindStartAsync( _
   ByVal startPageIndex As System.Integer, _
   ByVal wholeDocument As System.Boolean, _
   ByVal findParams As C1FindTextParams, _
   ByVal throwException As System.Boolean _
) As System.Threading.Tasks.Task(Of C1FoundPosition)
public System.Threading.Tasks.Task<C1FoundPosition> FindStartAsync( 
   System.int startPageIndex,
   System.bool wholeDocument,
   C1FindTextParams findParams,
   System.bool throwException
)

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

Reference

C1TextSearchManager Class
C1TextSearchManager Members
Overload List