Print Page | Close Window

[SOLVED]Render problem

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=3355
Printed Date: 22 Nov 24 at 1:41PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: [SOLVED]Render problem
Posted By: bitusonline
Subject: [SOLVED]Render problem
Date Posted: 15 Jul 16 at 2:34AM
Hi friends,


Some hint of why the dotted line (sample below) was not rendered correctly?

Sample image (Delphi x Foxit):

http://imgur.com/a/GRLdd" rel="nofollow - http://imgur.com/a/GRLdd


My code:

 AJpg  := TJpegImage.create;
   AMemStream := Tmemorystream.Create;

  APDF  := TQuickPDF.Create;
  try
    APDF.UnlockKey('...');
    APDF.LoadFromFile(AFilePath,'');
    APDF.RenderPageToStream(100,1,1,AMemStream);

    AMemStream.Seek(0,0);
    Ajpg.LoadFromStream (AMemStream);

    image1.Top :=0;
    image1.Left:=0;
    image1.Height := Ajpg.Height ;
    image1.Width := Ajpg.Width;
    image1.Picture.Assign(Ajpg);
  finally
    APDF.Free;
    Ajpg.Free;
    AMemStream.Free;
  end;






Replies:
Posted By: Ingo
Date Posted: 16 Jul 16 at 1:09PM
Hi Bitusonline,

which version of the library you're using?
Rendering is always a point where enhancements will be inserted from version to version ;-)

Cheers and welcome here,
Ingo



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



Posted By: bitusonline
Date Posted: 18 Jul 16 at 12:58AM
Thanks,

Worked in latest lib.

[]'s



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