# Uses of Class
com.evopdf.PdfAction

- ## Uses of PdfAction in com.evopdf

  Subclasses of PdfAction in com.evopdf
  Modifier and Type
  Class
  Description
  `class`
  `PdfActionGoTo`
  Represents a Go To action in the PDF document
  `class`
  `PdfActionJavaScript`
  Represents a JavaScript action in the PDF document
  `class`
  `PdfResetFormAction`
  Represents a Reset action in a PDF form
  `class`
  `PdfSubmitFormAction`
  Represents a Submit action in a PDF form
  Methods in com.evopdf that return PdfAction
  Modifier and Type
  Method
  Description
  `PdfAction`
  Document.`openAction()`
  Gets the Go To, JavaScript, Submit Form or Reset Form action to be performed when the PDF document is opened
  Methods in com.evopdf with parameters of type PdfAction
  Modifier and Type
  Method
  Description
  `void`
  PdfFormField.`setAction(PdfAction action)`
  Sets the action to be performed when the field is activated
  `void`
  Document.`setOpenAction(PdfAction openAction)`
  Sets the Go To, JavaScript, Submit Form or Reset Form action to be performed when the PDF document is opened