I've use iText in a project and I'm trying to tweak how the documents I'm generating are saved. I'm having trouble getting exactly what I want.

I'd like the documents to open up with the equivilant of the Acrobat "Fit Page" option selected from the zoom options. Currently the viewer preferences I'm setting are.

writer.setViewerPreferences( PdfWriter.PageLayoutSinglePage | PdfWriter.FitWindow );

This is not getting me what I'm looking for. It's doing the equivilant of the "Fit Width" option in the zooming options. I'd also be open up to making changes to the iText source if I knew how to properly encode the PDF file.

/John



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to