charmi
charmi

Reputation: 307

how to save pdf file generated by itextpdf without opening it?

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?

Any help is appreciated.Thank in advance.

Upvotes: 4

Views: 6210

Answers (1)

Boris Pavlović
Boris Pavlović

Reputation: 64650

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

Upvotes: 3

Related Questions