TextHighlightingOptions

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.ITextHighlightingOptions

public class TextHighlightingOptions implements ITextHighlightingOptions

Represents options which can be used to highlight text in text frame.

Constructors

ConstructorDescription
TextHighlightingOptions()Creates new default text highlighting options.

Methods

MethodDescription
getCaseSensitive()Set true to use case-sensitive search, false - otherwise.
setCaseSensitive(boolean value)Set true to use case-sensitive search, false - otherwise.
getWholeWordsOnly()Set true to match only whole words, false - otherwise.
setWholeWordsOnly(boolean value)Set true to match only whole words, false - otherwise.

TextHighlightingOptions()

public TextHighlightingOptions()

Creates new default text highlighting options.

getCaseSensitive()

public final boolean getCaseSensitive()

Set true to use case-sensitive search, false - otherwise. Read/write boolean.

Returns: boolean

setCaseSensitive(boolean value)

public final void setCaseSensitive(boolean value)

Set true to use case-sensitive search, false - otherwise. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getWholeWordsOnly()

public final boolean getWholeWordsOnly()

Set true to match only whole words, false - otherwise. Read/write boolean.

Returns: boolean

setWholeWordsOnly(boolean value)

public final void setWholeWordsOnly(boolean value)

Set true to match only whole words, false - otherwise. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean