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 - Text in PDF is not visible after RenderPage...
  FAQ FAQ  Forum Search   Register Register  Login Login

Text in PDF is not visible after RenderPage...

 Post Reply Post Reply
Author
Message
bboldi View Drop Down
Beginner
Beginner
Avatar

Joined: 24 Jun 07
Location: Yugoslavia
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote bboldi Quote  Post ReplyReply Direct Link To This Post Topic: Text in PDF is not visible after RenderPage...
    Posted: 02 Sep 07 at 7:23AM
Here is the PDF. http://www.b2ss.net/textandpicture.pdf ... when I use qpdf to render the PDF only the image is visible the text is not... why? what can i do to get it work properly? Please help.

thanks in advance.

I forgot to mention: i'm using DELPHI DCU version from delphi and the method RenderPAgeToStream, the problem appears there. When I use .NET C# and ActiveX control - renderdocumenttofile, it's working perfectly...


Edited by bboldi - 02 Sep 07 at 7:39AM
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 02 Sep 07 at 2:58PM
Hi!

The dcu-version is 5.21 and the activex is 5.22. I think Marian had made few improvements in the 5.22-version - they are missing in the 5.21-version. So it's like it is. You can use the activex-version or you can pay Marian to do this improvements in the dcu-version for you personal, too.

Best regards,
Ingo

Back to Top
bboldi View Drop Down
Beginner
Beginner
Avatar

Joined: 24 Jun 07
Location: Yugoslavia
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote bboldi Quote  Post ReplyReply Direct Link To This Post Posted: 02 Sep 07 at 6:17PM
I could use the activeX version. Can anyone please send me an example for using RenderPageToStream in delphi?

ps: How much for the 5.22 DCU version?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 03 Sep 07 at 1:32AM
Hi!

Marian don't share the new 5.22 code for free. If you want to buy it you can ask at him at support [ at ] quickpdf [ dot ] org.

Best regards,
Ingo
Back to Top
bboldi View Drop Down
Beginner
Beginner
Avatar

Joined: 24 Jun 07
Location: Yugoslavia
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote bboldi Quote  Post ReplyReply Direct Link To This Post Posted: 03 Sep 07 at 3:33AM
Thanks.
Back to Top
marian_pascalau View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 28 Mar 06
Location: Germany
Status: Offline
Points: 278
Post Options Post Options   Thanks (0) Thanks(0)   Quote marian_pascalau Quote  Post ReplyReply Direct Link To This Post Posted: 03 Sep 07 at 8:07AM
Sample of using QuickPDF.RenderPageToStream.
 
procedure RenderPageToStream(
    Pdf : IQuickPDF2;
    Stream : TStream;
    PageResolution: Integer = 110; // usualy used is 72; acrobat use 110.
    ImageType: Integer = 0; // 0 is BMP; 3 is JPG; 4 is GIF; 5 = PNG
    ZoomFactor: Double = 1; // 1 = 100%
    PageRotation: Integer = 0); // possible values are: 0, 90, 180, 270
var
    istm : ActiveX.IStream;
begin
     ASSERT(Assigned(Pdf));
     ASSERT(Assigned(Stream));
        istm := TStreamAdapter.Create(Stream, soReference);
        try
            Pdf.RenderPageToStream(
                PageResolution,
                Pdf.SelectedPage,
                ImageType,
                istm,
                ZoomFactor,
                PageRotation);
        finally
            istm := nil; // will release the StreamAdapter !!!
        end;
end;


Edited by marian_pascalau - 03 Sep 07 at 8:17AM
Back to Top
bboldi View Drop Down
Beginner
Beginner
Avatar

Joined: 24 Jun 07
Location: Yugoslavia
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote bboldi Quote  Post ReplyReply Direct Link To This Post Posted: 03 Sep 07 at 8:15AM
Thank you.
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