Donate Share

iText.NET

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

How to modify Named Destinations in a PDF?

You are viewing a single message from this topic. View all messages.

  1. nobody

    2009-01-14 19:43:45 UTC
    Hi,

    I am using iText 4.1.2.0. Could anyone please help me. I am trying to add several Named Destinations to an existing PDF file. I went through the “iText In Action” book and through numerous online resources, and I still can’t figure out how to do it.

    I know how to read Named Destinations from a file, I know how to apply them on a NEW file, but I still don’t know how to add Named Destinations to an existing PDF file.

    Dim oDest As Hashtable = SimpleNamedDestination.GetNamedDestination(oReader, False)
    oDest.Add("dest 1", "11 FitH 797")
    oDest.Add("dest 2", "22 FitH 797")
    oDest.Add("dest 3", "33 FitH 797")
    'How do I apply the oDest hashtable back on the PDF file?

    I am using VB.Net for this project, however I should be able to make use of code samples in any programming language. Could anyone please help?

    Thank you.
    Sincerely,
    Vincent.

< Previous | 1 | Next >

Add a Reply

You can use Markdown syntax in your reply.

Preview

Monitor this

Log in to monitor this topic. Not registered? Create an account to receive email updates when replies are posted to this topic. If you do not log in or register, your reply will be added anonymously.