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
| Field | Description |
|---|---|
| Invert | Invert the contents of the annotation rectangle. |
| None | No highlighting. |
| Outline | Invert the annotation’s border. |
| Push | Display the annotation’s down appearance, if any. |
| Toggle | Same as Push (which is preferred). |
Methods
| Method | Description |
|---|---|
| getByValue | |
| getValue | |
| valueOf | Returns the enum constant of this type with the specified name. |
| values | Returns 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:
| Parameter | Type | Description |
|---|---|---|
| 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