Page 2 of 2

Re: Printing an image.

Posted: Mon Sep 19, 2016 1:37 pm
by Armando
Friends:

Is it posible do that with TReport Class?

Regards

Re: Printing an image.

Posted: Mon Sep 19, 2016 4:53 pm
by Enrico Maria Giordano
Try

Code: Select all

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

EMG

Re: Printing an image.

Posted: Mon Sep 19, 2016 9:55 pm
by ukoenig
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

Re: Printing an image.

Posted: Tue Sep 20, 2016 9:30 pm
by ukoenig