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!
Access Violation in TPDFPageTree.GetPage |
Post Reply |
Author | |
rlove
Beginner Joined: 28 Mar 13 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 28 Mar 13 at 11:35PM |
We are trying to convert the test 100 Page PDF document to a TIF file.
So we are running through and rendering each page to a bitmap. Here is simplified version of our code... QP := TDebenuPDFLibrary.Create; QP.LoadFromStream(aPDFStrm,''); PageCount := QP.PageCount; for x := 1 to PageCount do begin msPgTif.Clear; QP.RenderPageToStream(200,x,10,msPgTif); msPgTif.Position := 0; end; We actually take the render page and deal with it but the A/V initially is on QP.RenderPageToStream but after stepping into the code, it appears on page 43 of the 100 page test PDF document that you ship. Stepping through the code this line in the above method is the next source of the A/V Renderer.PageDict := GetPage(Page); Stepping further down the call stack into GetPage() This line of code raises an A/V Result := SearchPage(TPDFArray(Obj), PP); Inspecting Obj I see that the classname is 'TPDFNull' Up a few lines I see and Obj is returning TPDFNull Obj := FPagePointer.Obj; Which causes the A/V.... I really don't know enough about this code to offer any more details on the problem. But we need help in figuring out what to do here. |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi!
This sounds like an internal problem and not like needing help with your programming code? You should try the official support forum for this: http://www.debenu.com/support/contact/ Cheers and welcome here, Ingo |
|
rlove
Beginner Joined: 28 Mar 13 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
Thanks I did that.
|
|
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