Report screenshots
Hello,
I want to save a screenshot(.bmp, .jpg...) of a report in my database. The
problem is that I don't know how to launch my report and generate an event
( OnReportPreview or something like that ) to launch my screenshot procedure.
I want to do something like that :
procedure OnReportPosted(Sender:TObject);
begin
screenshot();
end;
Report Builder version : 9.01
Delphi version : 7
OS : Widows XP Pro
Is someone can tell me how can I do that ?
Is someone can help me ?
Thanks a lot
--- posted by geoForum on http://delphi.newswhat.com
I want to save a screenshot(.bmp, .jpg...) of a report in my database. The
problem is that I don't know how to launch my report and generate an event
( OnReportPreview or something like that ) to launch my screenshot procedure.
I want to do something like that :
procedure OnReportPosted(Sender:TObject);
begin
screenshot();
end;
Report Builder version : 9.01
Delphi version : 7
OS : Widows XP Pro
Is someone can tell me how can I do that ?
Is someone can help me ?
Thanks a lot
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
database, then using the archive viewer to display it?
First, thanks for your answer.
I never heard about any archive viewer in report builder.
Do you talk about one seen before printing a report or is a module
Archive viewer exist that I could launch from my program?
I want to save the screenshot in my database (that already contains the
template of my report). Your solution seem good but
I don't know the functions to launch the archive viewer from DELPHI.
After that, I know how to take a screenshot of a zone of my screen.
Great thanks.
--- posted by geoForum on http://delphi.newswhat.com
any time using the TppArchinveReader object (located on the component
palette in Delphi. Once you generate a report, you can save it to an
archive file or stream it to a database blob field to be viewed at a later
time. For more information on archives, take a look at the
TppArchiveReader, TppDBArchiveReader, topics in the ReportBuilder help and
see the archive demos located in the \RBuilder\Demos\1. Reports\...
directory.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Now I can display a preview of my report when my mouse is over the report
name!
With congratulations.
--- posted by geoForum on http://delphi.newswhat.com