The Aloaha PDF SDK function merge_A_and_B merges 2 PDF files together. This important function can be used to apply letterheads to existing PDF documents.
Please have a look at the sample below:
dim filea 'inputfile
dim fileb 'page 1 of filea will be rendered over fileb
dim outputfile 'filea and outputfile could be the same
'if last boolean is set to false only first page of filea will be rendered
Call pdf.merge_A_and_B(cstr(filea), cstr(fileb), cstr(outputfile, False)
The registry key HKLM\Software\Aloaha\pdf\LayeredPDFLetterhead defines if only one or several PDF Layers are used. The key HKLM\Software\Aloaha\pdf\PDFLetterHeadLayer defines the PDF Layer to be used for the Letterhead.
Although we really tried hard, there are always questions left open. But perhaps somebody else had already put the same question? Please check!
Will this product also supported in Linux platform + PHP?
Aloaha can be used from PHP. An example is available at: http://www.aloaha.com/software-development/php-signature-sample.php
But Aloaha does NOT support Linux.
If not, please do not hesitate to send us your question. We would be glad to answer it.