| Win32Prn() > Print output methods |
![]() |
![]() |
![]() |
Prints a box.
:box( <nX1> , ;
<nY1> , ;
<nX2> , ;
<nY2> , ;
[<nWidth>], ;
[<nHeight>] ) --> lSuccess
Method :box() accepts the coordinates of a rectangle and draws the rectangle using the current pen. The pen must be selected previously with method :setPen(). If both parameters <nWidth> and <nHeight> are specified, the box is drawn with rounded edges.
The method returns a logical value indicating success of the operation.
http://www.xHarbour.com