Printing an image.

User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

Re: Printing an image.

Post by Armando »

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
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Printing an image.

Post by Enrico Maria Giordano »

Try

Code: Select all

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

EMG
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Printing an image.

Post 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
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: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Printing an image.

Post by ukoenig »

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.
Post Reply