In our Asp.Net Core API
application we load a templated Excelfile using EPPlus
. Add in the data from the database and use .GetAsByteArray()
to return a generate Excel file.
I now need give the user the ability to download this file as a PDF as well. However, the documentation seems limited on this.
I found the following link here;
However, this doesn't use the official EPPlus repo.
I am currently using EPPlus v 5.2.0
.
Is it possible for me to convert the ExcelPackage
to a PDF byte array without saving the file to disk?