使用JSReport将pdf保存为字节数组

时间:2017-02-01 16:54:28

标签: asp.net database pdf actionresult jsreport

我从视图中使用JSReport生成pdf。 因为我的客户希望将生成的pdf保存为byte [],所以我正在寻找解决方案: 这是我使用的代码:

[EnableJsReport(Recipe = "phantom-pdf")]
    public ActionResult Result()
    {
        ...
        return View();
    }

任何解决方案?

0 个答案:

没有答案