Add Notes / Annotations

One great feature of PDF is the possibility to add Notes/Annotations to any existing PDF. Aloaha PDF SDK makes this even easier.

Please find a sample below:

dim pdf
set pdf = createobject("aloahapdf.edit")
if pdf.load_pdf_to_mem(cstr("c:\document.pdf")) = true then

     if pdf.make_note(cdbl(left), cdbl(top), clng(type), cdbl(popupleft), cdbl(popuptop), cdbl(popupwidth), cdbl(popupheight), cstr(title), cstr(contents), cdbl(red), cdbl(green), cdbl(blue), cdbl(open)) = true then

          call pdf.save_pdf_to_file(cstr(TargetPDF))

     end if
end if
set pdf = nothing


Please note that make_note destroys any existing digital signature. In case a document has been signed please use the following call instead:

if pdf.add_inc_note(cstr(orig_pdfpath), cstr(savepath), clng(pagenumber), cbool(date), cstr(body), cstr(subject), cbool(opened), clng(px), clng(py), clng(pw), clng(ph)) = true then
.....


This function requires an evaluation key in order to work.





Please ask...

Although we really tried hard, there are always questions left open. But perhaps somebody else had already put the same question?
Please check!
  • I need an evaluation key, how can i get one?
    Please send an E-Mail to info@aloaha.com with your contact details in it and we will send you the key.
    Answered 18.12.2008
If not, please do not hesitate to send us your question.
We would be glad to answer it.


Home / Knowledge Base / PDF SDK / Add Notes
Please ask...

Download PDF SDK


Incremental PDF Annotation

Learn here how to add a "sticky note" to an already signed document without invalidating the digital signature!
create PDF Software

Add Notes

Any questions?
Aloaha Software - Software Development / PDF SDK / Add Notes / Annotations
ProductsKnowledge BaseShopSupportPress
Deutsche VersionEnglish version