Skip to content

# PDFHideAction

Namespace: O2S.Components.PDF4NET.Actions

Defines a Hide action.

    public class PDFHideAction : PDFAction

Inheritance Object → PDFAction → PDFHideAction

Remarks

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

## Constructors

### PDFHideAction()

Initializes a new PDFHideAction object.

    public PDFHideAction()

## Properties

### Actions

Gets or sets the sequence of actions to be performed after this action.

    public PDFActionCollection Actions { get; set; }

Property Value

PDFActionCollection
The sequence of actions to be performed after this action.

### CosAction

Gets the cos action object.

    public PDFCosDictionary CosAction { get; }

Property Value

PDFCosDictionary
The cos action dictionary.

Remarks

Direct changes to cos action dictionary can lead to unexpected results if they do not follow the PDF specification.

### FieldName

Gets or sets the name of the field that is affected by this action.

    public string FieldName { get; set; }

Property Value

String
A string value specifying the name of the field that is affected by this action.

### Hide

Gets or sets a value indicating whether to hide the annotations or show them.

    public bool Hide { get; set; }

Property Value

Boolean
True for hidding the annotations, false for showing them.

### Type

Gets the type of this action.

    public PDFActionType Type { get; }

Property Value

PDFActionType
A PDFActionType enum member specifying the type of this action.