/// <summary> /// Constructor. /// </summary> /// <param name="excelVersion">Set to enExcelVersion.Excel2003 for an XLS file. Set to enExcelVersion.Excel2007 for an XLSX file.</param> /// <param name="outputFilename">Full path to the output file.</param> /// <param name="replaceExistingFile">True to overwrite existing file with same name. Otherwise, set to false to modify a file with the same name.</param> /// <param name="sheetName">Name to give to the worksheet that will be created.</param> public ExcelDocumentFileOutputProcessor(enExcelVersion excelVersion, string outputFilename, bool replaceExistingFile, string sheetName) { _excelVersion = excelVersion; _outputFileName = outputFilename; _replaceExistingFile = replaceExistingFile; _sheetName = sheetName; }
/// <summary> /// Constructor. /// </summary> /// <param name="excelVersion">Set to enExcelVersion.Excel2003 for an XLS file. Set to enExcelVersion.Excel2007 for an XLSX file.</param> /// <param name="outputFilename">Full path to the output file.</param> public ExcelDocumentFileOutputProcessor(enExcelVersion excelVersion, string outputFilename) { _excelVersion = excelVersion; _outputFileName = outputFilename; }
/// <summary> /// Constructor. /// </summary> /// <param name="excelVersion">Set to enExcelVersion.Excel2003 for an XLS file. Set to enExcelVersion.Excel2007 for an XLSX file.</param> public ExcelDocumentFileOutputProcessor(enExcelVersion excelVersion) { _excelVersion = excelVersion; }