public void ConvertPdfToSwf(string inFilename, string swfFilename)
{
try
{
//string flashPrinter = Server.MapPath(@"..\..\FlashPaper 2\FlashPrinter.exe");
string flashPrinter = string.Concat(AppDomain.CurrentDomain.BaseDirectory, @"systemInfo\FlashPaper2\FlashPrinter.exe");
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(flashPrinter);
startInfo.Arguments = string.Concat(Server.MapPath(inFilename), " -o ", Server.MapPath(swfFilename));
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo = startInfo;
process.Start();
process.WaitForExit();
process.Close();
}
catch (Exception ex)
{
throw ex;
}
}文件已经转换成功。但转换成功的swf内容是左倒着的 内容变成竖排的了大侠帮忙啊。
我检查过 大小是A4 方向是 landscape 但就是不行
解决FlashPaper转PDF出现旋转问题的方法
http://blog.csdn.net/lizhihai_99/article/details/6191050