Gets or sets the JavaScript action to be performed when the user types a keystroke into a text field or combo box or modifies the selection in a scrollable list box. This action can check the keystroke for validity and reject or modify it.

Namespace: Spire.Pdf.Actions
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfJavaScriptAction KeyPressed { get; set; }
Public Property KeyPressed As PdfJavaScriptAction
	Get
	Set
public:
property PdfJavaScriptAction^ KeyPressed {
	PdfJavaScriptAction^ get ();
	void set (PdfJavaScriptAction^ value);
}
member KeyPressed : PdfJavaScriptAction with get, set

Property Value

PdfJavaScriptAction
A object specifying the action to be executed when the user types a keystroke.

See Also