Print Page | Close Window

RenderPageToStream

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=412
Printed Date: 18 May 24 at 11:52PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: RenderPageToStream
Posted By: skwirelboy
Subject: RenderPageToStream
Date Posted: 16 May 06 at 7:47AM

Hi,

I render pdf pages to a stream using the above function and then load the stream into an imageviewing component.

I can then browse through the pages of the pdf using the same function for the appropriate pdf.

This works fine. However, we are now seeing pdfs that don't work quite right using this function. When you first load it, the first page is blank although the size of the stream that was created with the above function seems right. If you browse to the 2nd page it loads okay and if you browse back to the 1st page it now opens okay.

The PDF Producer for the problem pdfs are iText by lowagie.com (r1.01;p126)

The PDF Version is 1.4.

Does anyone have any ideas what may be causing this problem and how to overcome it.

Thanks,

 

Mark




Replies:
Posted By: Frank
Date Posted: 16 May 06 at 11:59AM

Hi skwirelboy

Perhaps it is the same problem which I have experienced also.
If it is, you can find a description for a workaround here http://www.quickpdf.org/forum/forum_posts.asp?TID=380&PN=1 - www.quickpdf.org/forum/forum_posts.asp?TID=380&PN=1 .
There are some other issues with rendering dealt on this forum. Using the Search function may give you some hints.

Regards
Frank



Posted By: skwirelboy
Date Posted: 16 May 06 at 12:08PM

Fantastic.

SelectPage did the job. Would never have thought of it myself.

 

Thanks.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk