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!
![]() |
V. 7.14 fail to open the PDF |
Post Reply
|
| Author | |
mikle74
Beginner
Joined: 17 Jun 09 Location: UK Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Topic: V. 7.14 fail to open the PDFPosted: 14 Jul 09 at 9:59AM |
|
Hello,
My .NET 2008 QuickPDF v.7.14 based application fails to open the following file. RenderPageToVariant does not return correct image data for first page of this file. Second page gets rendered OK. http://www.filex.bbconsult.co.uk/?id=kaAHiKAgb Can you please check why this happens? Regards, Mick |
|
![]() |
|
DELBEKE
Debenu Quick PDF Library Expert
Joined: 31 Oct 05 Location: France Status: Offline Points: 151 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 Jul 09 at 10:38AM |
|
Hi mikle
I have open your pdf with my pdf viewer (writen in vb6 with the activex 7.14) with no problem.
in my viewer, I use rendertodc
|
|
![]() |
|
mikle74
Beginner
Joined: 17 Jun 09 Location: UK Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 Jul 09 at 11:03AM |
|
So seems the problem is related to RenderPageToVariant. A bit strange - this function should work same as RenderToDoc... Perhaps someone of developers can comment this issue?
|
|
![]() |
|
mikle74
Beginner
Joined: 17 Jun 09 Location: UK Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 Jul 09 at 11:05AM |
|
Ah, you're Dev Team, sorry. I'll check render to DC however it looks a bit strange that I need to switch to another function to get the library working on some particular PDF file.. :)
|
|
![]() |
|
mikle74
Beginner
Joined: 17 Jun 09 Location: UK Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 Jul 09 at 11:13AM |
|
DELBEKE, can you please copy here your VB code that uses RenderToDC fucntion? I need it to get idea how to deal with device contexts.
Thanks, Mick |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 Jul 09 at 10:35PM |
|
Hi Mick!
It's here: http://www.quickpdf.org/forum/topic933_post5182.html#5182 BTW: Use the search function (above) and you'll find a lot of source samples ;-) Cheers, Ingo |
|
![]() |
|
DELBEKE
Debenu Quick PDF Library Expert
Joined: 31 Oct 05 Location: France Status: Offline Points: 151 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 Jul 09 at 6:45AM |
|
Hi Mikle
The RenderPageToVariant may return null chars in the data, nd the nul char, for some compilers is the end of a string. Perhaps it's the problem.
My title Dev Team Member is no longer valid. I have stopped my activity since Debenu begin to distribute it's new version.
|
|
![]() |
|
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