PrintX PowerScript function
Description
Reports the x coordinate of the print cursor.
Syntax
1 |
<span>PrintX</span> ( <span>printjobnumber</span> ) |
Argument |
Description |
---|---|
printjobnumber |
The number the PrintOpen function assigned |
Return Values
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
an inch beyond that location:
of Report
1 |
integer LocX |
1 |
long Job |
1 |
Job = PrintOpen() |
1 |
... //Print statements |
1 |
LocX = <span>PrintX</span>(Job) |
1 |
Print(LocX+1000, "End of Report") |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest