string cmdStr = string.Format("C:\rcd {0}\rpdf2swf {1} -B \"{2}swfs\\rfxview.swf\" -o {3}\r", ROOT_PATH, PdfInPath, ROOT_PATH, swfOutPath );
安装swftools.exe,执行以上命令行即可