Add PDF Bookmarks

It is very easy to add bookmarks to existing PDF documents. Just have a look at the sample code below.


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


Please ask...

Although we really tried hard, there are always questions left open.

Please send us your question.
We would be glad to answer it.
PDF SDKPDF Signature APICertificate PropertiesSample CodeText StampsPDF AttachmentsImage 2 PDFPDF to Multipage TIFFAppend PDFInsert Blank PageRender ImageStamp PDF with PDFDraw PDF as LetterheadApply LetterheadPDF BackgroundsAdd NotesURL HotspotSecure PDF ViewerPDF OptimizerPDF Encryption APIPDF Printing APIPDF BookmarksAdvanced PDF BookmarksPDF BarcodingMerge PDF DocumentsSample APIsResize PDFCrop PDF PagePDF InformationPDF2TXTNormalize PagesDirect PDF ConversionPDF Form Saver SDKSmart Card APIAloaha Web ServicesAloaha Print MonitorAloaha Remote ConfigurationWebDAVLDAP ClientProgramming Office MacrosIIS Event Sinks