title: Edit pdf bookmark urls using C#
body: <p>I have a pdf file which has bookmarks to different chapters(each chapter is linked to another pdf file in seperate folder using bookmarks). clicking on each chaptername will open a new pdf in the same parent pdf file.</p>
  
  <p>I need to retrieve the bookmark urls of parent pdf file and alter the URLs.I used below code to retrieve bookmark properties(Action,File,Title etc), however didn't succeed in altering the path as it is dictionary key value pair.</p>
  
  <pre><code> IList&lt;Dictionary&lt;String, Object&gt;&gt; bmProperties= SimpleBookmark.GetBookmark(new PdfReader(new RandomAccessFileOrArray("http://XXXX/Shared%20Documents/Chapters.pdf"),
  null));
  
          foreach (IDictionary&lt;String, Object&gt; bmProperty in bmProperties)
          {
  
              foreach (var fileProperty in bmProperty.Keys)
              {
                  if (fileProperty == "File")
                  {
                    // need the edit the value of Key-"File". Will it be possible to alter the value using pdfwriter
                   }
               }
  </code></pre>