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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Can't load image into PDF
  FAQ FAQ  Forum Search   Register Register  Login Login

Can't load image into PDF

 Post Reply Post Reply
Author
Message
garrochaman View Drop Down
Beginner
Beginner
Avatar

Joined: 20 Aug 08
Location: Spain
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote garrochaman Quote  Post ReplyReply Direct Link To This Post Topic: Can't load image into PDF
    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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store