| Win32Prn() > Print output methods |
![]() |
![]() |
![]() |
Prints text at the specified X/Y position.
:textOutAt([<nPosX>] , ;
[<nPosY>] , ;
<cString> , ;
[<lNewLine>] , ;
[<lUpdatePosX>], ;
[<nTextAlign>] ) --> lSuccess
Values for text alignment
| Value | Description |
|---|---|
| 0 *) | Text is printed left aligned to the current print position |
| 1 | Text is printed right aligned to the current print position |
| 2 | Text is printed centered on the current print position |
| *) default | |
Method :textOutAt() works exactly like method :textOut(). The only difference are the first two parameters allowing to change the current print position before text is output.
The method returns a logical value indicating success of the operation.
http://www.xHarbour.com