| FoxitPDFSDKforWeb v11.1.0 Archives Foxit PDF SDK for Web

Public Member Functions | List of all members
URIAction Class Reference
PDF » actions

URI action object. More...

Inheritance diagram for URIAction:

## Public Member Functions
| getURI ()
| Get the URI string. More...
| setURI (uri)
| Set the URI string. More...
Public Member Functions inherited from Action
| getSubAction (index)
| Get a sub-action by index. More...
| getSubActionCount ()
| Get the count of sub-actions. More...
| getType ()
| Get action type. More...
| insertSubAction (index, action)
| Insert a new sub-action to the location specified by index. More...
| removeAllSubActions ()
| Remove all the sub-actions. More...
| removeSubAction (index)
| Remove a sub-action, specified by index. More...
| setSubAction (index, action)
| Set a sub-action by index. More...

## Detailed Description

URI action object.

Deprecated:
  Action related APIs have been moved under each object.

See also
  Annot
  Widget
  PDFFormField
  PDFDoc

## Member Function Documentation

## ◆ getURI()

URIAction::getURI | ( |  | ) |
| inline

Get the URI string.

Returns
  string - URI string.

## ◆ setURI()

URIAction::setURI | ( |  | uri | ) |
| inline

Set the URI string.

Parameters

  uri | string - A URI string to be set. It should not be an empty string.

Returns
  Promise<Action> - An action object.

@2026 Foxit Software Incorporated. All rights reserved.