For PDFActionNamed object

Applies to

PDFActionNamed object

Description

Specifies a menu item provided by the PDF Reader as the action to be executed.

Usage

The common menu items in the PDF Reader include:

  • SaveAs

  • Print

  • NextPage

  • PrevPage

  • FirstPage

  • LastPage

In scripts

The following scripts bind the SaveAs menu item with the PDFActionNamed object lpdf_named, and then add it as a action to be triggered at the PDFFormFieldEvent_Down! event.

lpdf_named.menuname = "SaveAs"
lpdf_pushbutton.addaction(PDFFormFieldEvent_Down!,lpdf_named)