Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohan2401 authored Dec 13, 2024
1 parent bf48592 commit 1217b7d
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,12 @@ using (ExcelEngine excelEngine = new ExcelEngine())
worksheet.Range["A15:A23"].RowHeight = 18;

//Saving the Excel to the Stream
FileStream stream = new FileStream(Path.GetFullPath(@"Output/Output.xlsx"), FileMode.Create, FileAccess.Write);
workbook.SaveAs(stream);
using (FileStream stream = new FileStream(Path.GetFullPath(@"Output/Output.xlsx"), FileMode.Create, FileAccess.Write))
{
workbook.SaveAs(stream);
}
imageStream.Dispose();
}
```

More information about creating an Excel document can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/create-excel-files-in-console-apps-c-sharp) section.
More information about creating an Excel document can be found in this [documentation](https://help.syncfusion.com/document-processing/excel/excel-library/net/create-excel-files-in-console-apps-c-sharp) section.

0 comments on commit 1217b7d

Please sign in to comment.