Script functions reference > Script functions in alphabetical order > S > SetCurrX

SetCurrX
Syntax
SetCurrX(num);
num 
Description
Sets a new X position for an object in PageOUT, such as a field, line, barcode, or text.
Once SetCurrX has been used to set the x position, you can no longer change the position by using variables in the Positions dialog box in PageOUT.
See also GetCurrX and SetCurrY.
Returns
A number specifying the old X position in millimeters.
Example
$xpos = 10;
setcurrx($xpos);
OpenText StreamServe 5.6.2 Updated: 2018-01-26