Gets or sets the PdfJavaScriptAction action to be performed when the user types a keystroke into PdfTextBox or PdfComboBox or modifies the selection in a scrollable list box.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfJavaScriptAction OnKeyPress { get; set; }
VB
Public Property OnKeyPress As PdfJavaScriptAction
	Get
	Set

Property Value

Type: PdfJavaScriptAction
The PdfJavaScriptAction action to be performed when the user types a keystroke.

Remarks

This action can check the keystroke for validity and reject or modify it.

See Also