HighlightOptions constructor

init

Initializes a new instance of the HighlightOptions class which is used to extract a fixed-length highlight.

def __init__(self):
    ...

init

Initializes a new instance of the HighlightOptions class which is used to extract a fixed-length highlight.

def __init__(self, max_length):
    ...
Parameter Type Description
max_length int The maximum text length.

init {#System.Nullable`1[[System.Int32]]-bool}

Constructs a new instance of HighlightOptions

def __init__(self, max_length, is_line_limited):
    ...
Parameter Type Description
max_length System.Nullable`1[[System.Int32]]
is_line_limited bool

init {#System.Nullable`1[[System.Int32]]-int}

Constructs a new instance of HighlightOptions

def __init__(self, max_length, word_count):
    ...
Parameter Type Description
max_length System.Nullable`1[[System.Int32]]
word_count int

init {#System.Nullable1[[System.Int32]]-System.Nullable1[[System.Int32]]-bool}

Constructs a new instance of HighlightOptions

def __init__(self, max_length, word_count, is_line_limited):
    ...
Parameter Type Description
max_length System.Nullable`1[[System.Int32]]
word_count System.Nullable`1[[System.Int32]]
is_line_limited bool

See Also