public bool Print(string fileName) { if (!base.CanPrint(fileName, SupportedExtensions)) { return(false); } using (SpreadsheetDocument workbook = new SpreadsheetDocument(fileName)) { workbook.Print(); } return(true); }