How can I export a PDF image of a report without getting the on-screen preview?
I use the Delphi and VCL.
Or I need to use RDC or ActiveX component to export (save)
to pdf file.
First, I believe that you need Crystal V8.5 to get the DLL for PDF export. For V8.0, you had to get it from Crystal directly (it wasn't in the V8 distribution).
This example is VB / RDC. Sorry, but I don't know Delphi.
Dim Report1 As CrystalReport1 'name of your RDC report
Dim crystalExportOptions As ExportOptions
Set crystalExportOptions = Report1.ExportOptions
crystalExportOptions.DestinationType = crEDTDiskFile
crystalExportOptions.DiskFileName = "youroutfilename" crystalExportOptions.FormatType = crEFTPortableDocFormat
Report1.Export False Brian J. Alves
Terrier Consulting, Inc.
Email: brian.alves@worldnet.att.net
VB / Crystal / SQLServer
(Currently available for consulting in Chicago)
FYI - Crystal Reports 8 that is included in the Info 7.5 package does have the capability to export in PDF format. The stand alone version 8 is Product 8.0.1.0 and the version bundled with Info 7.5 is 8.0.1.1.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.