NamedAction

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

public final class NamedAction extends PdfAction

Represents named actions that PDF viewer applications are expected to support.

Constructors

ConstructorDescription
NamedAction(int action)Constructor for Named Action class.

Methods

MethodDescription
getName()Gets the action to be performed.
setName(String value)Sets the action to be performed.

NamedAction(int action)

public NamedAction(int action)

Constructor for Named Action class.

Parameters:

ParameterTypeDescription
actionintAction for which this object is created.

getName()

public String getName()

Gets the action to be performed.

Returns: java.lang.String - String value

setName(String value)

public void setName(String value)

Sets the action to be performed.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value