Printing an image.

Re: Printing an image.

Postby Armando » Mon Sep 19, 2016 1: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
User avatar
Armando
 
Posts: 3224
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Printing an image.

Postby Enrico Maria Giordano » Mon Sep 19, 2016 4:53 pm

Try

Code: Select all  Expand view
oRpt:SayBitmap()


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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Printing an image.

Postby ukoenig » Mon Sep 19, 2016 9: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 :D
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Printing an image.

Postby ukoenig » Tue Sep 20, 2016 9: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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: cmsoft and 83 guests