DocumentViewerSearchOptions Class

Represents text search options of the document viewer.

If you specify a search term, an automatic search will be done when the document is displayed, i.e. the specified term will be searched and results with clickable positions will be listed on the left pane and the term will be highlighted in the pages. For example, if you launch the document viewer from a search results page, you can pass the same search term to the document viewer.

Definition

Namespace: GleamTech.DocumentUltimate.AspNet.UI
Assembly: GleamTech.DocumentUltimate (in GleamTech.DocumentUltimate.dll) Version: 7.1.5
C#
public class DocumentViewerSearchOptions
Inheritance
Object    DocumentViewerSearchOptions

Constructors

DocumentViewerSearchOptions Initializes a new instance of the DocumentViewerSearchOptions class.

Properties

ActiveHighlightColorGets or sets the color to use for highlighting active (current) search result. Default is orange.
HighlightAll Gets or sets a value that specifies whether to highlight all search results, i.e. not only active (current) search result. Default value is true.
HighlightColorGets or sets the color to use for highlighting search results. Default is yellow.
MatchOptions Gets or sets a value that specifies the match options for text search.
TermGets or sets a value that specifies the search term used.

See Also