Print Page | Close Window

View PDF sample for Android 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=3769
Printed Date: 29 Mar 24 at 12:15AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: View PDF sample for Android RenderPageToStream
Posted By: sko
Subject: View PDF sample for Android RenderPageToStream
Date Posted: 11 Dec 19 at 11:28AM
Hi,

i have downloaded View PDF Sample and with Windows all works fine.
Now i compile it fpor Android and at

ViewPrintQP.RenderPageToStream(DPI, ViewPrintPageNum, 0, MS);

i get error unknown RenderPageToStream!

What can i do to run this sample in Android?

Ciao
Stefan



Replies:
Posted By: Ingo
Date Posted: 11 Dec 19 at 9:08PM
Hi Stefan,

the problem should be similar to the one you had two years ago.
How did you fix it?
Think it will be the same solution for your actual issue:
http://www.quickpdf.org/forum/renderpagetofile-in-android-does-not-work-correct_topic3522.html



-------------
Cheers,
Ingo



Posted By: sko
Date Posted: 12 Dec 19 at 5:36AM
Hi Ingo,

no, my problem is, in Android the Control has no RenderToStream...

Ciao
Stefan


Posted By: Ingo
Date Posted: 12 Dec 19 at 10:04PM
so you can try and rebuild with RenderPageToFile, ...String or ...Variant?



-------------
Cheers,
Ingo



Posted By: sko
Date Posted: 13 Dec 19 at 5:28AM
Yes, i use now RenderToFile, but it takes more time than RenderToStream (on older Android devices)

Ciao
Stefan


Posted By: Ingo
Date Posted: 13 Dec 19 at 8:11PM
that's the slowest option (file creation lasts).
What about "...toString"?



-------------
Cheers,
Ingo




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