EPPlus ExcelPackage ByteArray 转 PDF 文件

Mat*_*ynn 6 epplus asp.net-core asp.net-core-3.1

在我们的Asp.Net Core API 应用程序中,我们使用EPPlus. 从数据库中添加数据并用于.GetAsByteArray()返回生成的 Excel 文件。

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;

PdfRpt.Core from EPPlus

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?