You are not logged in.
Pages: 1
Hello gents,
I am trying to generate a PDF based on a ReportPro's TCanvas. How can I use a custom canvas in TPdfDocumentGDI? Would you recommend another approach?
Thanks,
Rod
Offline
Thanks for replying!
Save your report into a TMetaFile
I did some research, but I am not sure yet how to save it as a TMetaFile... As far as I understood, it is possible to convert a TMetaFile into a canvas with TMetafileCanvas. But I guess we want the other way around, since I can get a TCanvas from ReportPro.
then "play" this metafile content into a SynPDF canvas
I suppose you are talking about using TPdfDocument.Canvas.RenderMetaFile here.
Thanks again,
Rod
Offline
The TCanvas from ReportPro is to draw on the report.
Which product do you call ReportPro?
Is it QuickReport?
Someone already asked this question: http://synopse.info/forum/viewtopic.php?id=138
You'll find here some code about how to render the report into pdf.
Offline
Which product do you call ReportPro? Is it QuickReport?
No, it is the predecessor of Rave Reports:
http://www.nevrona.com/products/index.html
Someone already asked this question: [...] You'll find here some code about how to render the report into pdf.
I learned the Pdf.Canvas.RenderMetaFile trick there, but could not find yet the equivalent to QuickRep.QRPrinter.GetPage (which returns a TMetaFile) in ReportPro.
Thanks,
Rod
Offline
Oh no problem. You gave me all the important steps after I get a TMetaFile out of ReportPro.
Thanks a lot,
Rod
Offline
Oh no problem. You gave me all the important steps after I get a TMetaFile out of ReportPro.
Thanks a lot,
Rod
How can i get a Metafile from Rave´s Report ?
Offline
Pages: 1