PdfAdditionalActions Class

The additional actions of a document, a page or an annotation (/AA, ISO 32000-2, 12.6.3): the actions run on events, such as opening a page or the mouse entering an annotation. The dictionary is created when an action is set.

public sealed class PdfAdditionalActions

Properties

NameDescription
SupportedTriggersGets the events this object can have actions for: those of a document, a page, an annotation or a widget.
TriggersGets the events that have an action.

SupportedTriggers

PdfAdditionalActions.cs

Gets the events this object can have actions for: those of a document, a page, an annotation or a widget.

public IReadOnlyList<PdfActionTrigger> SupportedTriggers { get; }

Gets the events that have an action.

public IReadOnlyList<PdfActionTrigger> Triggers { get; }

Indexers

NameDescription
this[PdfActionTrigger]Gets or sets the action of an event, or null.

this[PdfActionTrigger]

PdfAdditionalActions.cs

Gets or sets the action of an event, or null.

public PdfAction? this[PdfActionTrigger trigger] { get; set; }

Parameters

trigger PdfActionTrigger
The event.

Property value

PdfAction?

Exceptions

ArgumentException
The object cannot have an action for this event, or the action refers to objects of another document.