Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Can't load image into PDF |
Post Reply |
Author | |
garrochaman
Beginner Joined: 20 Aug 08 Location: Spain Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 26 Aug 08 at 2:47PM |
I'm trying to load an image into my PDF for an ASP page but ever returns 0 value. the code is:
Dim PDF
Set PDF = Server.CreateObject("iSED.QuickPDF") Call PDF.UnlockKey("xxxxxxxxx") Call PDF.NewDocument()
Call PDF.NewPages(200) Call PDF.SelectPage(1) Call PDF.SetOrigin(1) Call PDF.SetTextSize(11) TTFHelv = PDF.AddStandardFont(4) TTFHelvB = PDF.AddStandardFont(5) TTFSnapITC = PDF.AddType1Font(server.MapPath("pdfs/SnapITC_.pfm")) idImage = PDF.AddJPEGFromFile("imagen.jpg")
Call PDF.SelectImage(idImage)
i try to see the value of "idImage" and inser this line before the last one
response.write("Image id: "&idImage)
and always returns 0
can you help me please.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store