You are not logged in.
Pages: 1
Thanks for replying ab. Will try the latest version of your code.
Rod
Hello,
I get this warning when I compile synpdf with Delphi 2007:
synpdf_proj.dpk(43) Warning: W1032 Exported package threadvar 'SynCommons.SynLogFileIndex' cannot be used outside of this package
Other than setting to DCC_PACKAGED_THREADVAR false in the .dproj file, do you guys any alternative to get rid of this warning?
Is it safe to ignore "SynLogFileIndex: TSynLogFileIndex" and maybe "CurrentHandleExceptionSynLog: TSynLog" in SynCommons.pas?
Thanks,
Rod
Oh no problem. You gave me all the important steps after I get a TMetaFile out of ReportPro.
Thanks a lot,
Rod
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
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
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
Pages: 1