**Inheritance:**
java.lang.Object, com.aspose.pdf.PdfAction com.aspose.pdf.HideAction, com.aspose.pdf.PdfAction, com.aspose.pdf.HideAction

**All Implemented Interfaces:**
IAppointment

```
public class HideAction extends PdfAction
```

Represents a hide action that hides or shows one or more annotations on the screen by setting or clearing their Hidden flags.

## Constructors

| Constructor | Description |
| --- | --- |
| [HideAction](#HideAction-com.aspose.pdf.Annotation-) | Initializes a new instance of the {@code HideAction} class for the specified annotation. |
| [HideAction](#HideAction-com.aspose.pdf.Annotation:A-) | Initializes a new instance of the {@code HideAction} class for the specified annotations. |
| [HideAction](#HideAction-com.aspose.pdf.Annotation:A-boolean-) | Initializes a new instance of the {@code HideAction} class for the specified annotations and for invisibility flag. |
| [HideAction](#HideAction-com.aspose.pdf.Annotation-boolean-) | Initializes a new instance of the {@code HideAction} class for the specified annotation and invisibility flag. |
| [HideAction](#HideAction-java.lang.String-) | Initializes a new instance of the {@code HideAction} class for the specified field name. |
| [HideAction](#HideAction-java.lang.String:A-) | Initializes a new instance of the {@code HideAction} class for the specified field names. |
| [HideAction](#HideAction-java.lang.String:A-boolean-) | Initializes a new instance of the {@code HideAction} class for the specified field names and for invisibility flag. |
| [HideAction](#HideAction-java.lang.String-boolean-) | Initializes a new instance of the {@code HideAction} class for the specified field name and invisibility flag. |

## Methods

| Method | Description |
| --- | --- |
| [isHidden](#isHidden--) | Gets or sets status of the annotation(s) to hide/display. |
| [setHidden](#setHidden-boolean-) | Gets or sets status of the annotation(s) to hide/display. |

### HideAction {#HideAction-com.aspose.pdf.Annotation-}
Initializes a new instance of the {@code HideAction} class for the specified annotation.

### HideAction {#HideAction-com.aspose.pdf.Annotation:A-}
Initializes a new instance of the {@code HideAction} class for the specified annotations.

### HideAction {#HideAction-com.aspose.pdf.Annotation:A-boolean-}
Initializes a new instance of the {@code HideAction} class for the specified annotations and for invisibility flag.

### HideAction {#HideAction-com.aspose.pdf.Annotation-boolean-}
Initializes a new instance of the {@code HideAction} class for the specified annotation and invisibility flag.

### HideAction {#HideAction-java.lang.String-}
Initializes a new instance of the {@code HideAction} class for the specified field name.

### HideAction {#HideAction-java.lang.String:A-}
Initializes a new instance of the {@code HideAction} class for the specified field names.

### HideAction {#HideAction-java.lang.String:A-boolean-}
Initializes a new instance of the {@code HideAction} class for the specified field names and for invisibility flag.

### HideAction {#HideAction-java.lang.String-boolean-}
Initializes a new instance of the {@code HideAction} class for the specified field name and invisibility flag.

### isHidden {#isHidden--}
```
public boolean isHidden()
```

Gets or sets status of the annotation(s) to hide/display.

**Returns:**
boolean value

### setHidden {#setHidden-boolean-}
```
public void setHidden(boolean value)
```

Gets or sets status of the annotation(s) to hide/display.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | boolean value |
