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!
AddImageFromVariant error |
Post Reply |
Author | |
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
Posted: 23 May 10 at 11:16PM |
Hi Miguel!
If there's no function working you've done some basically things completely wrong. In Delphi (for example) the usage should point to the right dll. You should have something similar (the main declarations of the dll) in your programming language, too. I think your main declarations are still the old one but now you changed the dll. Have a look in the samples on the official support pages. Cheers, Ingo |
|
mjim79
Beginner Joined: 04 Feb 10 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
Hello Ingo,
Other functions like RenderPageToVariant or CapturePage doesn't work. What's happen? Before we purchased new quickpdf, we have all tests ok with trial one. Thanks! Miguel, Edited by mjim79 - 23 May 10 at 11:07PM |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi!
What's interesting in this case i've asked already: Are other functions working? Is the new dll mainly okay for you and is this AddImageFromVariant the only problem? Cheers, Ingo |
|
mjim79
Beginner Joined: 04 Feb 10 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
Hi Wheeley,
I didn't change the function calls. I just change the CreateObjetc and the UnlockKey. My code is the same: ... .SelectDocument lngDocId aux = .RenderPageToVariant(150, k, 1) .SelectDocument lngNewDocId lngImgId = .AddImageFromVariant(aux, 0) .SelectImage lngImgId .DrawImage 25 ... ... I revised component documentation and all the functions that I use are 100% compatible. (I think...) Thanks! Edited by mjim79 - 22 May 10 at 11:29AM |
|
Wheeley
Senior Member Joined: 30 Oct 05 Location: United States Status: Offline Points: 146 |
Post Options
Thanks(0)
|
You did update all your code to the newest function calls, correct? Can we see your updated code snippet as well?
Wheeley |
|
mjim79
Beginner Joined: 04 Feb 10 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
Yes, i have updated the references:
Before: Set oIsedQuickPdf = CreateObject("iSED.QuickPDF") Now: Set oIsedQuickPdf = CreateObject("QuickPDFAX0719.PDFLibrary") I have unregistred ised.dll. Thanks, |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi!
Are other things still working? Did you use your old unchanged ised-code with the new dll? The newest one is 719 ... these 719 should be in your declarations... Cheers, Ingo |
|
mjim79
Beginner Joined: 04 Feb 10 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
Hello,
I have problems adding images with AddImageFromVariant. It returns 0. My code: ... .SelectDocument lngDocId aux = .RenderPageToVariant(150, k, 1) .SelectDocument lngNewDocId lngImgId = .AddImageFromVariant(aux, 0) .SelectImage lngImgId .DrawImage 25 ... ... The document is simple text pdf document. With the old iSED.dll this source code works fine. Thanks Edited by mjim79 - 21 May 10 at 11:13AM |
|
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