如何使用C#以编程方式将PDF文件转换为swf

时间:2012-04-03 10:51:48

标签: c# pdf-generation pdf2swf

我想使用c#将PDF文件转换为.swf文件。我正在使用PDF2SWF以及以下参数。它会转换小文件,但会丢失大文件.....比如4MB文件(超过20页)。

以下是传递给convert的参数。

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

请建议。

0 个答案:

没有答案