我写了以下代码 但是转换出来的swf太大了,源文件才60k 转换后的swf181k ,大家帮帮啊,怎样传参可以压缩大小啊,还有要分页打印的话 怎么弄啊
拜托哦 大家支持支持!
Process process = new Process(); //
ProcessStartInfo startInfo = new ProcessStartInfo();
string paperroot = @"D:\Program Files\Print2Flash\p2fServer.exe";//"D:\Program Files\Print2Flash3\p2fServer.exe";
string docFile = Server.MapPath("~/《纲要》.XLS");
string swfFile = Server.MapPath("~/《纲要》.swf"); startInfo.FileName = paperroot;
startInfo.Arguments = docFile +" "+ swfFile;//@" E:\doc\hh.doc E:\doc\hh.swf";
startInfo.UseShellExecute = false; //不使用系统外壳程序启动
startInfo.RedirectStandardInput = false; //不重定向输入
startInfo.RedirectStandardOutput = false; //重定向输出
startInfo.CreateNoWindow = true; //不创建窗口
process.StartInfo = startInfo; process.Start();
拜托哦 大家支持支持!
Process process = new Process(); //
ProcessStartInfo startInfo = new ProcessStartInfo();
string paperroot = @"D:\Program Files\Print2Flash\p2fServer.exe";//"D:\Program Files\Print2Flash3\p2fServer.exe";
string docFile = Server.MapPath("~/《纲要》.XLS");
string swfFile = Server.MapPath("~/《纲要》.swf"); startInfo.FileName = paperroot;
startInfo.Arguments = docFile +" "+ swfFile;//@" E:\doc\hh.doc E:\doc\hh.swf";
startInfo.UseShellExecute = false; //不使用系统外壳程序启动
startInfo.RedirectStandardInput = false; //不重定向输入
startInfo.RedirectStandardOutput = false; //重定向输出
startInfo.CreateNoWindow = true; //不创建窗口
process.StartInfo = startInfo; process.Start();
可是我们公司买的就是Print2Flash这呀
可是我们公司买的就是Print2Flash这呀
我已经设置好转换页数了,请问在c#里怎么压缩flash体积呢