Creating Archive file
I was wondering how do you programmatically create an archive file? i
have a custom client where I want to press a button and generate an
archive file without opening the print dialog. I am able to do this and
generate a PDF, but how do you do it for the RAF?
Regards
Charles
--- posted by geoForum on http://delphi.newswhat.com
have a custom client where I want to press a button and generate an
archive file without opening the print dialog. I am able to do this and
generate a PDF, but how do you do it for the RAF?
Regards
Charles
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
Generating an Archive file is very similar to exporting to PDF.
Report.AllowPrintToArchive := True;
Report.ArchiveFileName := lsFileName;
Report.DeviceType := 'ArchiveFile';
Report.ShowPrintDialog := False;
Report.Print;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com