How to Draw Box, Rectange and print BMP ?

Post Reply
Milan Mehta
Posts: 115
Joined: Mon Oct 17, 2005 4:42 am
Location: India

How to Draw Box, Rectange and print BMP ?

Post 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.
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Milan,

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

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

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

Post by Enrico Maria Giordano »

For boxes:

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

For BMP:

TPrinter:SayBitmap() method.

EMG
Post Reply