如何在不打开的情况下保存itextpdf生成的pdf文件?

时间:2021-06-27 09:47:00

am having some data that is coming from database and after that i am able to display that content in pdf format in pop up.But now i want to save that pdf without opening the popup.is it possible?

我有一些来自数据库的数据,之后我能够以弹出的方式显示pdf格式的内容。但是现在我想保存该pdf而不打开弹出窗口。它可能吗?

Any help is appreciated.Thank in advance.

任何帮助表示赞赏。谢谢。

1 个解决方案

#1


3  

That PDF comes from a database as an input stream. Just save it to a file. Here's an example.

该PDF来自数据库作为输入流。只需将其保存到文件中即可。这是一个例子。

#1


3  

That PDF comes from a database as an input stream. Just save it to a file. Here's an example.

该PDF来自数据库作为输入流。只需将其保存到文件中即可。这是一个例子。