How would you programmatically embed a SWF in a PDF?
问题 Is it possible to programmatically embed a SWF in a PDF from a C# application? 回答1: You can use the c# port of the iText library. It's called iTextSharp. http://itextsharp.com/ An example of what the code could look like: // create an output file stream which will be used to capture the generated file string outputFileName = "output.pdf"; FileStream outputFile = new FileStream(outputFileName, FileMode.Create); // open the original pdf file as a PdfReader PdfReader reader = new PdfReader(