Small question, I guess that in order that the UserUnit would take effect, the pdf version should be of 1.6 or else this key would be ignored.
How do i set the pdf version in PdfStreamedDocument? (the only SetPdfVersion I see is in PdfDocument). Thanks! Jonathan. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 2:09 PM To: [email protected] Cc: Jonathan Sibony > 2. If I choose to write down the streams to files using your > library, how do I preserve the DPI (I know that before 1.6, a point was > set to 1/72 inch dictating a resolution, in 1.6 I can play with my media > box vs. my image dimensions to get what I want). > (I guess that changing the default ePDFVersion param at the > PDFImmediateWriter constructor to 1_6 is not enough) > I think PdfPage* pPage = ....; pPage->GetObject()->GetDictionary().AddKey( PdfName("UserUnit"), 75.000 ); should help. best regards, Dom ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
