Image Stamp a signed Document

Unlike the general believe it is possible to add objects to already signed documents WITHOUT destroying the existing signatures. If you open such a document with the Adobe Reader it would offer to display the signed or the modified version of the document. 

The API explained below require a valid license key. Please contact aloaha@wrocklage.de for an evaluation key or fill in the form at the end of this page.

ZoomView original PDF version in Adobe Reader
View original PDF version in Adobe Reader
Signed and modified Document.pdf (465,07 KB)



add_inc_image


dim pdf
dim inputpdf
dim outputpdf
dim jpg24image
dim pagenumber
dim px
dim py
dim pw
dim ph


pagenumber = 1
jpg24image = "\\server\share\3510_1.jpg"   'must be 24 Bit JPG
inputpdf = "\\server\share\extracto2_signed.pdf"
outputpdf = "\\server\share\extracto2_signed_image.pdf" 

'following values are percentages of the absolute page size!
px=80   
py=80
pw=10
ph=10

set pdf = createobject("aloahapdf.edit")

if pdf.add_inc_image(cstr(jpg24image), cstr(inputpdf),cstr(outputpdf), clng(pagenumber), clng(px), clng(py), clng(pw), clng(ph))=true then
          msgbox "OK"
else
          msgbox "No valid license or error"
end if

set pdf = nothing


add_inc_note


dim pdf
dim inputpdf
dim outputpdf
dim opened             'true sets the note opened
dim pagenumber
dim px
dim py
dim pw
dim ph
dim ndate                'true includes date
dim nbody
dim nsubject

pagenumber = 1
opened = true
inputpdf = "\\server\share\extracto2_signed.pdf"
outputpdf = "\\server\share\extracto2_signed_image.pdf"
nsubject = "Subject of sticky note"
nbody = "Body of PDF Annotation"
ndate = true

'following values are absolute values in points!
px=120
py=400
pw=150
ph=80

set pdf = createobject("aloahapdf.edit")

if pdf.add_inc_note(cstr(inputpdf),cstr(outputpdf), clng(pagenumber), cbool(ndate), cstr(nbody), cstr(nsubject), cbool(opened), clng(px), clng(py), clng(pw), clng(ph)) = true then
          msgbox "OK"
else
          msgbox "No valid license or error"
end if

set pdf = nothing




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!
  • Hi there,

    I\'m interested in using PDF documents for contracts but am having difficulty understanding how the digital signature process works, what I would need and what my customers would need to make it all pain free!

    You and your customer need the Aloaha PDF Signator and a digital certificate.
    Answered 21.10.2009
  • i have 1 form that save as .pdf file.but i want a staff to fill in blank with type.i don my staff to modify my structure of form.have any solution
If not, please do not hesitate to send us your question.
We would be glad to answer it.
PDF SDKPDF Signature APIc++ UsageText SignaturesVB6 Signature sampleSignature TypesPHP Signature SampleAloaha CustomSigner PluginModify signed PDFUniqueContainerNameSign PDF AttachmentsAloaha Commandline Signer (ACS)Interactive SignaturesExtract Signature CertificatesCertificate 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 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