Hi I am using PDF2SWF converter to convert a pdf file to swf file by Command prompt in my ASP.Net Project...
But Its not converting large PDF File more than 4mb size when i am converting PDF file through command line...
Its hanged that time..
my code is:
string fileName = "PDFFiles/Test.pdf";
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.RedirectStandardError = true;
p.StartInfo.WorkingDirectory = HttpContext.Current.Server.MapPath("~");
p.StartInfo.FileName = HttpContext.Current.Server.MapPath("~/PDFFiles/pdf2swf.exe");
p.StartInfo.Arguments = fileName + " -o PDFFiles/Test.swf";
//Start the process
p.Start();
p.WaitForExit();
p.Close();
Please help me regarding this .
Thanks,
Avinash Singh