PrintX
PowerScript function
Description
Reports the x coordinate of the print cursor.
Syntax
|
1 |
PrintX ( printjobnumber ) |
|
Argument |
Description |
|---|---|
|
printjobnumber |
The number the PrintOpen function assigned to the |
Return value
Integer. Returns the x coordinate of the print cursor if it succeeds
and -1 if an error occurs. If any argument’s value is null, PrintX returns
null.
Examples
These statements set LocX to the x coordinate of the cursor and
print End of Report an inch beyond that location:
|
1 2 3 4 5 6 |
integer LocX long Job Job = PrintOpen() ... //Print statements LocX = PrintX(Job) Print(LocX+1000, "End of Report") |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest