Picture from file (dinamic)
Let's say I have a folder C:\pic\
full of images called:
1.jpg
2.jpg
etc
Now how could I get those images automatically into my report.
Note: I do not wish to save them into a database.
Please help.
full of images called:
1.jpg
2.jpg
etc
Now how could I get those images automatically into my report.
Note: I do not wish to save them into a database.
Please help.
Comments
procedure TForm1.frxReport1BeforePrint(Sender: TfrxReportComponent);
begin
if Sender.Name='Picture1'then
TfrxPictureView(Sender).Picture.loadfromfile('pathname+filename');
end;