public void ConvertToTifExcelIFC(string inputFile, string sheetName, string protectPswd)
{
ExcelIfc.IRFGeneratorClass exc = new ExcelIfc.IRFGeneratorClass();
try
{
int iRet = exc.RunMacro(inputFile, "PrintSheet");
System.IO.File.Move(inputFile.
}
catch (Exception Ex)
{
throw Ex;
}
finally
{
System.Runtime.
GC.Collect();
}
}
No comments:
Post a Comment