We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can Annotation save as swf file?

//Open the PDF document
Document doc = new Document("d:/pdftest/input.pdf");
// get reference of the page to which you need to add the annotation
Page page = doc.Pages[1];
// create ScreenAnnotation object with .swf multimedia file as an argument
ScreenAnnotation annotation = new ScreenAnnotation(page, new Aspose.Pdf.Rectangle(0, 400, 600, 700), @"E:\First_Application_with_Aspose.Pdf_for_.NET.swf");
// add the annotation to annotations collection of page
page.Annotations.Add(annotation);
// save the update PDF document with annotation
doc.Save("d:/pdftest/Pdf_Filesample_with_SWF.pdf");


annotation object is not exported into the SWF file, how should I do?

Hi Anni,


Thanks for your inquiry. I am afraid the requested feature is not supported in Aspose.Pdf at the moment. We have logged a new feature request, PDFNEWNET-37428, in our issue tracking system for further investigation and resolution. We will update you as soon as it is implemented.

We are sorry for the inconvenience caused.

Best Regards,