Win32Prn() > Print output methods xHarbour Developers Network  

oWin32Prn:setPos()

Queries or changes the current print position.

Syntax

:setPos( [<nXPos>], [<nYPos>] ) --> aOldPos

Arguments

<nXPos>
If specified, this numeric parameter defines the new X coordinate for the print position.
<nYPos>
If specified, this numeric parameter defines the new Y coordinate for the print position.

Description

Method :setPos() returns a two element array {nPosX,nPosY} holding the X and Y coordinates of the print position before the method is called. When parameters are passed, the method sets the new X and/or Y print position accordingly.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe