swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Help


From: Avinash Singh
Subject: [Swftools-common] Help
Date: Thu, 19 Sep 2013 10:15:08 +0530

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]