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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - View PDF sample for Android RenderPageToStream
  FAQ FAQ  Forum Search   Register Register  Login Login

View PDF sample for Android RenderPageToStream

 Post Reply Post Reply
Author
Message
sko View Drop Down
Team Player
Team Player


Joined: 13 Feb 19
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote sko Quote  Post ReplyReply Direct Link To This Post Topic: View PDF sample for Android RenderPageToStream
    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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3172
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
sko View Drop Down
Team Player
Team Player


Joined: 13 Feb 19
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote sko Quote  Post ReplyReply Direct Link To This Post Posted: 12 Dec 19 at 5:36AM
Hi Ingo,

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

Ciao
Stefan
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3172
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 12 Dec 19 at 10:04PM
so you can try and rebuild with RenderPageToFile, ...String or ...Variant?

Cheers,
Ingo

Back to Top
sko View Drop Down
Team Player
Team Player


Joined: 13 Feb 19
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote sko Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3172
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 13 Dec 19 at 8:11PM
that's the slowest option (file creation lasts).
What about "...toString"?

Cheers,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store