0

我正在使用库 FlexCel,需要将MemoryStream(Xls 类型)转换为 PDF。我试过这个表格,但没有用。

oFlexCelReport.Run(oTemplateMemoryStream, oOutMemoryStream);
oOutMemoryStream.Seek(0, SeekOrigin.Begin);
using (FlexCelPdfExport pdf = new FlexCelPdfExport(oXlsFile, true))
{
    pdf.Export(oOutMemoryStream);
}
4

0 回答 0