Code: Select all
Print2Flash3.Server2 p2f = new Print2Flash3.Server2();
Print2Flash3.Profile2 myprof = new Print2Flash3.Profile2();
myprof.InterfaceOptions = 0;
myprof.Language = "zh-CN";
myprof.Skin = null;
Directory.SetCurrentDirectory(@"E:\temp");
Directory.CreateDirectory("flash");
string sourceFile = "WHO守则åˆ.规需求报告.docx";
string targetFile = sourceFile.Remove(sourceFile.LastIndexOf(".")) + ".swf";
//p2f.ConvertFile("E:\\temp\\" + sourceFile,"E:\\temp\\flash\\" + targetFile,myprof,null,null);
Code: Select all
string str_path = @"\\192.168.0.230\WPMDocs\2013\11\25\";
p2f.ConvertFile(@"\\192.168.0.230\WPMDocs\2013\11\25\CMSWebService.docx", @"\\192.168.0.230\WPMDocs\2013\11\25\CMSWebService.swf", myprof, null, null);
thanks!
Townsend