keyPressed property
PdfJavaScriptAction?
get
keyPressed
Gets or sets the JavaScript action to be performed when the user types a keystroke
Implementation
PdfJavaScriptAction? get keyPressed => _keyPressed;
set
keyPressed
(PdfJavaScriptAction? value)
Implementation
set keyPressed(PdfJavaScriptAction? value) {
if (value != null && _keyPressed != value) {
_keyPressed = value;
_helper.dictionary!.setProperty(PdfDictionaryProperties.k, _keyPressed);
_helper.changed = true;
}
}