Output PDF during building

Output PDF during building

Forum member · Mar 12, 2013
Hi, Is there a way to save the PDF to stream/file while it's build? In fact, I want the same functionality as the one of Aspose.Pdf (see Pdf(Stream) constructor, http://www.aspose.com/docs/display/pdfnet/Pdf+Constructor)? I need to create PDF with thousands of images and it will probably raise an OutOfMemory exception if I use the classic method. Document document = new Document(); // add 2000 images document.Draw(myfile.pdf)

Re: Output PDF during building

Support · Mar 12, 2013
Hello, The PDF will need to be completely built in memory before it can be saved to a file/stream, this approach gives the best performance while creating and drawing the PDF. Currently it is not possible to save the PDF while it is being built, we will consider this feature for a future version. Thanks, ceTe Software Support Team.