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 request a key via the form below!




Company
Contact Person  
E-Mail
Telephone
Fax
Comment:

Please enter the code shown on the left in the following field: (This is to prevent automatic spammers)


Aloaha Software / Knowledge Base / PDF SDK / Add Notes

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