[]
        
(Showing Draft Content)

C1.Pdf.ButtonAction

ButtonAction Enum

Specifies actions that can be performed when a PdfPushButton's state changes as described by ButtonAction. For most actions, additional information needs to be specified by the Command property on the action.

Namespace: C1.Pdf
Assembly: C1.Pdf.dll
Syntax
public enum ButtonAction

Fields

Name Description
CallMenu

Calls an Adobe Acrobat's menu item specified by the Command property of the PdfPushButton.Action.

For instance, setting Command to "SaveAs" will invoke the save file dialog, while setting it to "Close" will close the document. For the complete listing please refer to the Adobe documentation.

ClearFields

Clears all fields of the containing AcroForm. To prevent some of the fields from being cleared, assign a comma-separated list of their names (e.g. Field1,Field2) to the Command property of the PdfPushButton.Action.

GotoPage

Goes to the page specified by the PageNo property of the PdfPushButton.Action.

HideField

Hides a field if it were visible. The Name of the field should be assigned to the Command property of the PdfPushButton.Action.

OpenFile

Opens a file specified by the Command property of the PdfPushButton.Action.

OpenUrl

Opens a URL specified by the Command property of the PdfPushButton.Action.

ShowField

Shows a field if it were hidden. The Name of the field should be assigned to the Command property of the PdfPushButton.Action.