HighlightingMode

Inheritance: java.lang.Object, java.lang.Enum < HighlightingMode > com.aspose.pdf.HighlightingMode, java.lang.Enum < HighlightingMode >, com.aspose.pdf.HighlightingMode

All Implemented Interfaces: Serializable, Comparable < HighlightingMode >

public enum HighlightingMode extends Enum < HighlightingMode >

Enumerates the annotation’s highlighting mode, the visual effect to be used when the mouse button is pressed or held down inside its active area.

Fields

FieldDescription
InvertInvert the contents of the annotation rectangle.
NoneNo highlighting.
OutlineInvert the annotation’s border.
PushDisplay the annotation’s down appearance, if any.
ToggleSame as Push (which is preferred).

Methods

MethodDescription
getByValue
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns an array containing the constants of this enum type, in the order they are declared.

Invert

public static final HighlightingMode Invert

Invert the contents of the annotation rectangle.

None

public static final HighlightingMode None

No highlighting.

Outline

public static final HighlightingMode Outline

Invert the annotation’s border.

Push

public static final HighlightingMode Push

Display the annotation’s down appearance, if any.

Toggle

public static final HighlightingMode Toggle

Same as Push (which is preferred).

getByValue

public static HighlightingMode getByValue(int value)

Parameters:

ParameterTypeDescription
value

getValue

public int getValue()

valueOf

Returns the enum constant of this type with the specified name.

values

public static HighlightingMode [] values()

Returns an array containing the constants of this enum type, in the order they are declared.

Returns: an array containing the constants of this enum type, in the order they are declared