Hi.
I have a crystal report which contains hyperlinks that point to files on the server. I would like to convert the crystal report to a pdf document and still maintain the hyperlinks with their respective urls.
How can I do this ?
Thanks in advance.
Convert crystal report with hyperlinks to pdf
Re: Convert crystal report with hyperlinks to pdf
Support · May 30, 2008Hello,
It is not possible to convert a crystal report file into PDF document directly using our product. However you can create a PDF document using the crystal report file. You will have to export the report file to PDF stream and then you can create a PDF using this stream. Following is some sample code.
Dim document as new MergeDocument
Dim source As New CrystalReportSource
Dim rpt As New Report
Dim stream As New MemoryStream
rpt.FileName = "report.rpt"
source.Report = rpt
stream = source.ReportDocument.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat)
document.Append(New PdfDocument(stream))
Thanks,
ceTe Software Support Team.