- Mike Slegeir
Mike Slegeir wrote:
I'm trying to use PdfStreamedDocument like so:but the result is just two blank pages. I'm currently doing something like this:PoDoFo::PdfStreamedDocument doc(out_filename); for(int i=0; i<num_inputs; ++i) { doc.Append( PoDoFo::PdfMemDocument(in_filenames[i]) ); } doc.Close();which works perfectly fine. Is anyone able to offer some insight on why this doesn't work or any technical reasons that it shouldn't? I'd like to be able to use PdfStreamedDocument for this as merging lots of documents can take up a lot of memory seemingly unnecessarily.PoDoFo::PdfMemDocument doc; for(int i=0; i<num_inputs; ++i) { doc.Append( PoDoFo::PdfMemDocument(in_filenames[i]) ); } doc.Write(out_filename);- Mike Slegeir ------------------------------------------------------------------------------Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
podofo-merged.pdf
Description: Adobe PDF document
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
