FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Printing an image.
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
Re: Printing an image.
Posted: Mon Sep 19, 2016 01:37 PM

Friends:

Is it posible do that with TReport Class?

Regards

SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Printing an image.
Posted: Mon Sep 19, 2016 04:53 PM
Try

Code (fw): Select all Collapse
oRpt:SayBitmap()


Reading the source code of TReport class, the above method used oPrn:SayImage().

EMG
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Printing an image.
Posted: Mon Sep 19, 2016 09:55 PM
Found < units > added to METHOD PrintImage in release FWH 16.4

METHOD PrintImage( nRow, nCol, uImage, nWidth, nHeight, lStretch, nAlpha, lTransp, lGray, cUnits ) CLASS TPrinter
=> PIXEL,MM,CM,INCHES

that makes the image-painting easy, using the same center-vars from the textpositions.
The calculations using < oPRINT:Cmtr2Pix( @nRow, @nCol ) > are redundant.

regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Printing an image.
Posted: Tue Sep 20, 2016 09:30 PM
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion