PDFDoc Scout |
PDFDoc Scout library - Sample
How to convert PNG into
PDF document using PDFDoc Scout library
You can download the source code of this example
(VBScript) here: pdfdocscout_using_png.zip This example shows how to convert PNG image into PDF document using PDFDoc Scout library Generated PDF document will look like this:
Code to convert PNG image to PDF using PDFDoc Scout lib: ' this example uses PDFDoc Scout Image Addon to load PNG into PDF document Set PDFDoc = CreateObject("PDFDocScout.PDFDocument") PDFDoc.InitLibrary "demo", "demo" PDFDoc.BeginDocument ImageLdr.ConnectToPDFLibrary (PDFDoc) ImageLdr.DisconnectFromPDFLibrary PDFDoc.Page.PlaceImage Image, 10,10 ' place image to current page at (10,10) PDFDoc.EndDocument ' close PDF document generation ' disconnect from library You can download the source code of this example (VBScript)
here: pdfdocscout_using_png.zip
"Hello, World!" quick start step-by-step tutorials: |
|
|
||