Hi,
I have example
#Ex1:
Pdf myPdf = new Pdf();
myPdf.JavaScript = new JavaScripts();
myPdf.JavaScripts.Add("app.alert('My Test');");
myPdf.Save(@"C:\TestPdf.pdf");
When I open file TestPdf.pdf then it show alert 'MyTest' Where I found script "app.alert('My Test');" into file pdf ?
#Ex2:
FileStream fs = new FileStream(@"c:\Test1.pdf", FileMode.OpenOrCreate);
Pdf myPdf = new Pdf();
myPdf.JavaScript = new JavaScripts();
myPdf.JavaScripts.Add("app.alert('My Test');");
myPdf.Close();
I see datetime of file "Test1.pdf" it updated but when i open this file it don't show alert "My Test", why?
If I have a function " function MyFunctionTest()" added into Event of button pdf I want call it save ex over, how do i can call MyFunctionTest() of myPdf and Save and update it? :( who can help me?
=> Aspose have support for this?