C1.Silverlight.Pdf.5 Assembly > C1.Silverlight.Pdf Namespace : ButtonAction Enumeration |
'Declaration
Public Enum ButtonAction Inherits System.Enum
public enum ButtonAction : System.Enum
Member | Description |
---|---|
CallMenu | Calls an Adobe Acrobat's menu item specified by the PdfPushButton.Action.Command property of the PdfPushButton.Action.
For instance, setting PdfPushButton.Action.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 PdfPushButton.Action.Command property of the PdfPushButton.Action. |
GotoPage | Goes to the page specified by the PdfPushButton.Action.PageNo property of the PdfPushButton.Action. |
HideField | Hides a field if it were visible. The PdfFieldBase.Name of the field should be assigned to the PdfPushButton.Action.Command property of the PdfPushButton.Action. |
OpenFile | Opens a file specified by the PdfPushButton.Action.Command property of the PdfPushButton.Action. |
OpenUrl | Opens a URL specified by the PdfPushButton.Action.Command property of the PdfPushButton.Action. |
ShowField | Shows a field if it were hidden. The PdfFieldBase.Name of the field should be assigned to the PdfPushButton.Action.Command property of the PdfPushButton.Action. |
System.Object
System.ValueType
System.Enum
C1.Silverlight.Pdf.ButtonAction
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2