new PdfDestination(PdfDestination.XYZ, -1, -1, 0)

> -----Original Message-----
> From: Blough, Joseph [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, November 20, 2003 12:15
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] PDF Outlines that just change the page
> 
> I'm currently adding a bookmark in the following way:
> 
> PdfWriter writer = PdfWriter.getInstance(document, out);
> document.open();
> PdfContentByte cb = writer.getDirectContent();
> PdfOutline root = cb.getRootOutline();
> String pageName = "Bookmark 1";
> cb.addOutline(new PdfOutline(root, new PdfDestination(PdfDestination.XYZ),
> pageName), pageName);
> 
> Is there some other PdfDestination that could be used so that clicking on
> a
> bookmark would only change the page and not resize the view?
> 
> Thank you.
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to