Table of Contents

Property OnKeyPress

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

OnKeyPress

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.

public PdfJavaScriptAction? OnKeyPress { get; set; }

Property Value

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 the example of using JavaScript actions for control events.