Skip to main content

SetAction

Sets the action executed when the link is clicked.

Syntax​

expression.SetAction(action);

expression - A variable that represents an ApiLinkAnnotation class.

Parameters​

NameRequired/OptionalData typeDefaultDescription
actionRequiredApiBaseAction | null | undefinedGoTo, URI, or another PDF action; null removes the action.

Returns​

boolean