Page 1 of 1

How to Draw Box, Rectange and print BMP ?

Posted: Wed Mar 08, 2006 3:15 pm
by Milan Mehta
Hello,

I have to draw round boxes / rectangle and print BMP on an invoice. How can I do the same ? I used to achieve the same using Win32Prn() in xHarbour.

I could not find the solution in samples\Reports.

Can somebody guide me ?

TIA
Milan.

Posted: Wed Mar 08, 2006 4:29 pm
by James Bott
Milan,

Have you looked at the FW sample reports in \samples\reports\?

James

Re: How to Draw Box, Rectange and print BMP ?

Posted: Wed Mar 08, 2006 4:35 pm
by Enrico Maria Giordano
For boxes:

TPrinter:Box() and TPrinter:RoundBox() methods.

For BMP:

TPrinter:SayBitmap() method.

EMG