Merge 2 PDF (Letterhead)

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 pdf
dim filea           'inputfile
dim fileb           'page 1 of filea will be rendered over fileb
dim outputfile   'filea and outputfile could be the same

set pdf=createobject("aloahapdf.edit")

          '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)

set pdf=nothing


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.




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.


Aloaha Software / Knowledge Base / PDF SDK / Apply Letterhead
Please ask...

create PDF Software

Apply Letterhead

Any questions?
Aloaha Software - Apply Letterhead
ProductsKnowledge BaseShopSupportPress
Deutsche VersionEnglish version