[EMAIL PROTECTED] wrote:
> I use itext-2.0.1.jar .
> PdfWriter#setViewerPreferences(PdfWriter.PageModeUseOutlines) is not 
> work.
> But it work in itext-1.4.7.jar.
> 
> Is it bug?

If it is, please provide a small standalone sample that
demonstrates the bug. My first guess is that you compiled
your code with iText 1.4.7 and then reused that code with
iText 2.0.1. As documented you should recompile your own
code with the new iText version before running it.

The reason: many constant values (including the viewer
preferences) have changed when going from iText 1 to iText 2.

br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to