PdfJavaScriptAction constructor
PdfJavaScriptAction(
- String javaScript
Initializes a new instance of the PdfJavaScriptAction class with the java script code
Implementation
PdfJavaScriptAction(String javaScript) : super() {
_initValue(javaScript);
PdfActionHelper.getHelper(this).dictionary.setProperty(
PdfDictionaryProperties.s, PdfName(PdfDictionaryProperties.javaScript));
PdfActionHelper.getHelper(this)
.dictionary
.setProperty(PdfDictionaryProperties.js, PdfString(_javaScript));
}