Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PowerPDF documentation?

575 views
Skip to first unread message

slycaper

unread,
Mar 19, 2007, 9:32:11 AM3/19/07
to
Hi,

I'm using Delphi 2006 and I'm interested in creating PDF documents. I've
been looking around and one free application is PowerPDF. I've been
playing around with it and at first it appeared easy enough to create
things visually. My problem is I can't create things programmatially.
I've tried with no luck:

/////////////
var
APage: TPRPage;
PRLayoutPanel: TPRLayoutPanel;
PRLabel: TPRLabel;
begin
with PReport1 do
begin
FileName := 'C:\test.pdf';
BeginDoc;

APage := TPRPage.Create(PReport1);
try
PRLayoutPanel := TPRLayoutPanel.Create(APage);
try
PRLabel := TPRLabel.Create(PRLayoutPanel);
try
PRLabel.Caption := 'I can not read this!!';
Print(APage);
finally
PRLabel.Free;
end;
finally
PRLayoutPanel.Free;
end;
finally
APage.Free;
end;

EndDoc;
end;
end;
//////////////////////

Anyone have experience with this library and be willing to shed some light.

Thanks!

Ricardona

unread,
Mar 20, 2007, 11:46:09 AM3/20/07
to
> Anyone have experience with this library and be willing to shed some light.

Exist a filter export for Freereport using PowerPDF look http://freereport.sf.net, that can help you like example.

Ricardona

0 new messages