Image 2 PDF
Die Aloaha Image2PDF API erlaubt dem Benutzer, eine Standardgrafik wie z.B. BMP, GIF, TIF, JPG, PNG in eine PDF-Datei zu konvertieren. Auch mehrseitige TIF-Dokumente werden unterstützt.
Beispielcode: dim pdf
dim imagepath
dim pdfpath
dim compression
dim sh
set pdf = createobject("aloahapdf.edit")
compression = 100 'no compression
imagepath = "c:\aloaha.bmp"
pdfpath = cstr(pdf.img2pdf(cstr(imagepath), clng(compression)))
if len(pdfpath)>0 then
Set sh = CreateObject("WScript.Shell")
sh.run cstr(pdfpath)
set sh = nothing
else
msgbox "Image could not be converted to PDF"
end if
set pdf = nothing
Home / Support / Aloaha PDF SDK / Image 2 PDF