## HideAction(Annotation) {#constructor}

Initializes a new instance of the [`HideAction`](../) class for the specified annotation.

```csharp
public HideAction(Annotation annotation)
```

| Parameter | Type | Description |
| --- | --- | --- |
| annotation | Annotation | An annotation to be hidden. |

### See Also

* class [Annotation](../../annotation/)
* class [HideAction](../)
* namespace [Aspose.Pdf.Annotations](../../../aspose.pdf.annotations/)
* assembly [Aspose.PDF](../../../)

---

## HideAction(Annotation, bool) {#constructor_1}

Initializes a new instance of the [`HideAction`](../) class for the specified annotation and invisibility flag.

```csharp
public HideAction(Annotation annotation, bool isHidden)
```

| Parameter | Type | Description |
| --- | --- | --- |
| annotation | Annotation | An annotation to be hidden or shown. |
| isHidden | Boolean | A flag indicating whether to hide the annotation (true) or show it (false). |

### See Also

* class [Annotation](../../annotation/)
* class [HideAction](../)
* namespace [Aspose.Pdf.Annotations](../../../aspose.pdf.annotations/)
* assembly [Aspose.PDF](../../../)

---

## HideAction(string) {#constructor_4}

Initializes a new instance of the [`HideAction`](../) class for the specified field name.

```csharp
public HideAction(string fieldName)
```

| Parameter | Type | Description |
| --- | --- | --- |
| fieldName | String | A text string giving the fully qualified field name of an interactive form field. |

### See Also

* class [HideAction](../)
* namespace [Aspose.Pdf.Annotations](../../../aspose.pdf.annotations/)
* assembly [Aspose.PDF](../../../)

---

## HideAction(string, bool) {#constructor_5}

Initializes a new instance of the [`HideAction`](../) class for the specified field name and invisibility flag.

```csharp
public HideAction(string fieldName, bool isHidden)
```

| Parameter | Type | Description |
| --- | --- | --- |
| fieldName | String | A text string giving the fully qualified field name of an interactive form field. |
| isHidden | Boolean | A flag indicating whether to hide the field (true) or show it (false). |

### See Also

* class [HideAction](../)
* namespace [Aspose.Pdf.Annotations](../../../aspose.pdf.annotations/)
* assembly [Aspose.PDF](../../../)

---

## HideAction(Annotation[]) {#constructor_2}

Initializes a new instance of the [`HideAction`](../) class for the specified annotations.

```csharp
public HideAction(Annotation[] annotations)
```

| Parameter | Type | Description |
| --- | --- | --- |
| annotations | Annotation[] | An array of annotations to be hidden. |

### See Also

* class [Annotation](../../annotation/)
* class [HideAction](../)
* namespace [Aspose.Pdf.Annotations](../../../aspose.pdf.annotations/)
* assembly [Aspose.PDF](../../../)

---

## HideAction(Annotation[], bool) {#constructor_3}

Initializes a new instance of the [`HideAction`](../) class for the specified annotations and for invisibility flag.

```csharp
public HideAction(Annotation[] annotations, bool isHidden)
```

| Parameter | Type | Description |
| --- | --- | --- |
| annotations | Annotation[] | An array of annotations to be hidden or shown. |
| isHidden | Boolean | A flag indicating whether to hide the annotations (true) or show it (false). |

### See Also

* class [Annotation](../../annotation/)
* class [HideAction](../)
* namespace [Aspose.Pdf.Annotations](../../../aspose.pdf.annotations/)
* assembly [Aspose.PDF](../../../)

---

## HideAction(string[]) {#constructor_6}

Initializes a new instance of the [`HideAction`](../) class for the specified field names.

```csharp
public HideAction(string[] names)
```

| Parameter | Type | Description |
| --- | --- | --- |
| names | String[] | An array of strings giving the fully qualified field names of an interactive form fields. |

### See Also

* class [HideAction](../)
* namespace [Aspose.Pdf.Annotations](../../../aspose.pdf.annotations/)
* assembly [Aspose.PDF](../../../)

---

## HideAction(string[], bool) {#constructor_7}

Initializes a new instance of the [`HideAction`](../) class for the specified field names and for invisibility flag.

```csharp
public HideAction(string[] names, bool isHidden)
```

| Parameter | Type | Description |
| --- | --- | --- |
| names | String[] | An array of strings giving the fully qualified field names of an interactive form fields. |
| isHidden | Boolean | A flag indicating whether to hide the fields (true) or show it (false). |

### See Also

* class [HideAction](../)
* namespace [Aspose.Pdf.Annotations](../../../aspose.pdf.annotations/)
* assembly [Aspose.PDF](../../../)


