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 - PDF displaying
  FAQ FAQ  Forum Search   Register Register  Login Login

PDF displaying

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

Joined: 04 Oct 16
Location: Russia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote coborhc Quote  Post ReplyReply Direct Link To This Post Topic: PDF displaying
    Posted: 04 Oct 16 at 9:51PM
Hi all.
Could somebody tell me why Quick PDF does not display the following PDF (just one horizontal line): https://drive.google.com/open?id=0B6Y6LNzVr4n9empXa0k2UENpRUU
All PDF readers display that PDF ok, but Quick PDF doesn't.

I use the following code:
var
  AJpg: TJpegImage;
  AMemStream: Tmemorystream;
  APDF: TQuickPDF;
begin
  AJpg  := TJpegImage.create;
  AMemStream := Tmemorystream.Create;

  APDF  := TQuickPDF.Create;
  try
    APDF.UnlockKey('...');
    APDF.SetGDIPlusOptions(9, 1); //EnhanceThinLines
    APDF.LoadFromFile('Line1-FOP.pdf','');
    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;
end;

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