FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour EMF Question
Posts: 284
Joined: Mon Oct 24, 2005 08:04 PM
EMF Question
Posted: Thu Sep 24, 2009 06:46 PM

All,

How can I create meta files with treport or tprinter and not show the preview? I want to convert the emf files to pdf but I don't want to show the print preview.

Thanks,
Randal

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: EMF Question
Posted: Sat Sep 26, 2009 05:30 PM
Randal,
I would suggest FastReport.
Take the time and have a look to FR. You can download a demo and try.

Here is how you would do it with FR.

Code (fw): Select all Collapse
oFr:SetProperty("PDFExport", "FileName", "\Myfile.pdf")
oFr:SetProperty("PDFExport", "OpenAfterExport", .f.)
oFr:SetProperty("PDFExport", "ShowDialog",.f.)
oFr:PrepareReport()
oFr:DoExport("PDFExport")


Best regards,
Otto

Continue the discussion