SearchOptions

SearchOptions(bool, bool, bool, bool, HighlightOptions, HighlightOptions)

Initializes a new instance of the SearchOptions class.

public SearchOptions(bool matchCase, bool matchWholeWord, bool useRegularExpression, 
    bool searchByPages, HighlightOptions leftHighlightOptions, 
    HighlightOptions rightHighlightOptions)
Parameter Type Description
matchCase Boolean The value that indicates whether a text case isn’t ignored.
matchWholeWord Boolean The value that indicates whether text search is limited by a whole word.
useRegularExpression Boolean The value that indicates whether a regular expression is used.
searchByPages Boolean The value that indicates whether the search is performed by pages.
leftHighlightOptions HighlightOptions The options for the left highlight.
rightHighlightOptions HighlightOptions The options for the right highlight.

See Also


SearchOptions(bool, bool, bool, HighlightOptions, HighlightOptions)

Initializes a new instance of the SearchOptions class which is used to search with the highlight options for the left and the right highlight extraction.

public SearchOptions(bool matchCase, bool matchWholeWord, bool useRegularExpression, 
    HighlightOptions leftHighlightOptions, HighlightOptions rightHighlightOptions)
Parameter Type Description
matchCase Boolean The value that indicates whether a text case isn’t ignored.
matchWholeWord Boolean The value that indicates whether text search is limited by a whole word.
useRegularExpression Boolean The value that indicates whether a regular expression is used.
leftHighlightOptions HighlightOptions The options for the left highlight.
rightHighlightOptions HighlightOptions The options for the right highlight.

See Also


SearchOptions(bool, bool, bool, HighlightOptions)

Initializes a new instance of the SearchOptions class which is used to search with the same highlight options for the left and the right highlight extraction.

public SearchOptions(bool matchCase, bool matchWholeWord, bool useRegularExpression, 
    HighlightOptions highlightOptions)
Parameter Type Description
matchCase Boolean The value that indicates whether a text case isn’t ignored.
matchWholeWord Boolean The value that indicates whether text search is limited by a whole word.
useRegularExpression Boolean The value that indicates whether a regular expression is used.
highlightOptions HighlightOptions The options for both highlights.

See Also


SearchOptions(bool, bool, bool)

Initializes a new instance of the SearchOptions class which is used to search without highlight extraction.

public SearchOptions(bool matchCase, bool matchWholeWord, bool useRegularExpression)
Parameter Type Description
matchCase Boolean The value that indicates whether a text case isn’t ignored.
matchWholeWord Boolean The value that indicates whether text search is limited by a whole word.
useRegularExpression Boolean The value that indicates whether a regular expression is used.

See Also


SearchOptions(bool, bool, bool, bool)

Initializes a new instance of the SearchOptions class which is used to search by pages and without highlight extraction.

public SearchOptions(bool matchCase, bool matchWholeWord, bool useRegularExpression, 
    bool searchByPages)
Parameter Type Description
matchCase Boolean The value that indicates whether a text case isn’t ignored.
matchWholeWord Boolean The value that indicates whether text search is limited by a whole word.
useRegularExpression Boolean The value that indicates whether a regular expression is used.
searchByPages Boolean The value that indicates whether the search is performed by pages.

See Also


SearchOptions()

Initializes a new instance of the SearchOptions class with default values. See remarks for details.

public SearchOptions()

Remarks

The following properties have default values:

MatchCase

false

MatchWholeWord

false

UseRegularExpression

false

LeftHighlightOptions

null

RightHighlightOptions

null

See Also