[]
        
(Showing Draft Content)

C1.iOS.Viewer.FlexViewer.SearchText

SearchText Method

SearchText(string, bool, bool, bool, bool, bool)

Starts searching text with specified parameters

Declaration
public IList<FoundPosition> SearchText(string text, bool matchWholeWord, bool matchCase, bool searchUp, bool highlightSearchResult = true, bool scrollToSearchResult = true)
Parameters
Type Name Description
string text

The text to search for

bool matchWholeWord

Whether to match whole word

bool matchCase

Whether to match case

bool searchUp

Whether to search from bottom first

bool highlightSearchResult

if set to true will highlight the search result in different color].

bool scrollToSearchResult

if set to true will scroll to first search result.

Returns
Type Description
IList<FoundPosition>