how to convert PDF file to swf programmatically using C#

920 Views Asked by At

I want to convert PDF file to .swf file using c#. I am using PDF2SWF with following parameters. It converts small files but faild for larg files..... say 4MB file(more than 20 pages).

Following are the parameters passed to convert.

p.StartInfo.FileName = HttpContext.Current.Server.MapPath("~/Tools/PDF2SWF.exe"); p.StartInfo.Arguments = sourceFile + " -o " + sourceFile.Replace(".pdf", "") + ".swf -T 9 -f";

Please suggest.

0

There are 0 best solutions below