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 : Nov 16th 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:

Created:

Updated:

Platform:

Replies:

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

Hi,
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. 
 
Regards, 
Chinnu 


CONFIRMATION

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.

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

;