Help > Web Development > Object Reference > Object Reference > ISYSSearchTerm
<a name="kanchor551"></a>ISYSSearchTerm Object
Contains information about a search term, can be used to customize the color used to highlight the term.
ISYSSearchTerm Properties
BGColorThe Background color to use when highlighting this term in HTML color syntax.
FGColorThe Foreground color to use when highlighting this term in HTML color syntax.
IDThe ID of the search term. Read-Only.
ValueThe search terms text value. Read-Only.
Examples
[VBScript]
<% ' Execute a pre-configured ISYSSearch object Set Results = ISYSSearch.Execute ' Get the document Set Document = Results(CLng("doc")) %> <% For Each Term in Document.SearchTerms %> <span style="color: <%= Term.FGColor %>; background-color: <%= Term.BGColor %>"> <%= Term.Value %> </span> <% Next %>
See Also
ISYSSearchTermList