__init__ constructor
Leave feedback
On this page
Initializes a new instance of the HighlightOptions class.
def __init__(self):
...
from groupdocs.search.options import HighlightOptions
from groupdocs.search.options import Color
options = HighlightOptions()
options.terms_before = 5
options.terms_after = 5
options.terms_total = 15
options.highlight_color = Color(0, 0, 127)
options.use_inline_styles = True
- class
HighlightOptions
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.