[]
        
(Showing Draft Content)

C1.WPF.Document.C1TextSearchManager.FindStart

FindStart Method

FindStart(int, SearchScope, C1FindTextParams)

Finds the first occurrence of a text in the document.

Declaration
public C1FoundPosition FindStart(int startPageIndex, SearchScope scope, C1FindTextParams findParams)
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.

Returns
Type Description
C1FoundPosition

The found text position.

FindStart(int, bool, C1FindTextParams)

Finds the first occurrence of a text in the document.

Declaration
public C1FoundPosition FindStart(int startPageIndex, bool wholeDocument, C1FindTextParams findParams)
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.

Returns
Type Description
C1FoundPosition

The found text position.