Aloaha PDF SDK / API's
The Aloaha PDF Suite contains a couple of APIs.
One example is the Aloaha PDF Splitter. Please have a look below. For a detailed list of APIs please contact our support.
'Copyright 2005 Wrocklage Intermedia GmbH
'This sample script bursts all PDF Documents
'of a folder specified into single page
'PDF Documents
Set pdf = CreateObject("aloahapdf.edit")
Call pdf.split_pdf_in_dir(CStr("c:\tosplit"))
Set pdf = nothing
Aloaha PDF Merger
The
Aloaha PDF Editor has an inbuilt PDF Merger to allow Aloaha user to merge one PDF file to another.
'This sample script demonstrates how to
'merge 2 documents into one document
'Copyright 2005 Wrocklage Intermedia GmbH
'Redistribution without permission not allowed
'On Error Resume Next
Dim pdf
Dim file1
Dim file2
Dim targetfile
Set pdf = CreateObject("aloahapdf.edit")
file1="c:\pdf\1.pdf"
file2="c:\pdf\2.pdf"
targetfile="c:\pdf\3.pdf"
If pdf.mergepdf(CStr(file1),CStr(file2),CStr(targetfile))=true Then
MsgBox "Files merged"
Else
MsgBox "Could not merge - maybe files encrypted?"
End If
Set pdf = nothing
If you have further questions or suggestions for Aloaha APIs please consult with our support via the form below.
Aloaha Software / Knowledge Base / PDF SDK / Sample APIs