We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to specify the javascript file to PdfJavaScriptAction

Thread ID:





126339 Oct 9,2016 03:14 AM UTC Oct 10,2016 12:44 PM UTC WPF 1
Tags: PDF
Asked On October 9, 2016 03:14 AM UTC

I want to specify the javascript file to PdfJavaScriptAction, but I checked the sample file, it only specify one command in it. Just like beow:
PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert('JavaScript Action')");

Could you tell me how to specify the javascript file?

Chinnu Muniyappan [Syncfusion]
Replied On October 10, 2016 12:44 PM UTC

Hi An, 
Thank you for contacting Syncfusion support. 
We do only support for providing java script as text in PdfJavaScriptAction, you can also provide a js file as text in JavaScript action. Please refer the below sample for more details. 
Sample link: 
And also refer the below link for more Java script API which is supported by adobe acrobat. 
Please let us know if you have any concern. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon