Conversion of Excel file with empty sheet fails. The problem is in setting "batchProcessing".
Code: Select all
IBatchProcessingOptions batchProcessing = p2fServer.DefaultBatchProcessingOptions;
batchProcessing.ExcelOptions.SkipEmptySheets = true;
batchProcessing.ApplyChanges();
p2fServer.ConvertFile(inputPath, outputPath, settingProfile, batchProcessing, null);
Error is:
System.Runtime.InteropServices.COMException: Before printing timeout expired
at Print2Flash3.IServer.ConvertFile(String SourceFileName, String OutputFileName, Object Profile, Object BatchProcessingOptions, Object PrintingPreferences)