"ConvertFile" only coverts last sheet of Excel file
Posted: Mon Dec 09, 2013 5:12 am
Hi staff,
"ConvertFile" only coverts last sheet of Excel file. I am running ASP.Net sample provided in sdk on this path "print2flashsdk\Automation\Samples\ASP.NET".
"ConvertFile" only coverts last sheet of Excel file. I am running ASP.Net sample provided in sdk on this path "print2flashsdk\Automation\Samples\ASP.NET".
Code: Select all
int interfaceOptions = 0;
for (int i = 0; i < cblDocOptions.Items.Count; i++)
if (cblDocOptions.Items[i].Selected)
interfaceOptions |= Int32.Parse(cblDocOptions.Items[i].Value);
Print2Flash3.Server2 p2fServer = new Print2Flash3.Server2();
p2fServer.DefaultProfile.InterfaceOptions = interfaceOptions;
p2fServer.DefaultProfile.ProtectionOptions = (int)Print2Flash3.PROTECTION_OPTION.PROTENAPI;
p2fServer.ConvertFile(fs_filename, fs_convertedfilename, null, null, null);
Label1.Text += "File converted.";
swfUrl = "ConvertedFiles/" + FileUpload1.FileName + ".swf";