Add PDF Bookmarks

It is very easy to add bookmarks to existing PDF documents. Just have a look at the sample code below. Please note that a PDF Suite Enterprise License is required!
Dim PDF
set PDF = createobject(“aloahapdf.edit”)
If PDF.load_pdf_to_mem(cstr(“d:\HBA-D2.pdf”)) = true then
     if PDF.add_bookmark(cstr(“Test Bookmark”),clng(10)) = true then
          if PDF.save_pdf_to_file(“d:\output.pdf”) = true then
          else
          end if
     else
     end if
else
     msgbox “Could not load PDF to memory”
end if

set PDF = nothing