PrintY PowerScript function
Description
Reports the y coordinate of the print cursor.
Syntax
|
1 |
<span>PrintY</span> ( <span>printjobnumber</span> ) |
|
Argument |
Description |
|---|---|
|
printjobnumber |
The number the PrintOpen function |
Return Values
Integer. Returns the y coordinate of
the cursor if it succeeds and -1 if an error occurs. If any argument’s
value is null, PrintY returns null.
Examples
These statements print a bitmap one inch below the
location of the print cursor:
|
1 |
integer LocX, LocY |
|
1 |
long Job |
|
1 |
Job = PrintOpen() |
|
1 |
... //Print statements |
|
1 |
LocX = PrintX(Job) |
|
1 |
LocY = <span>PrintY</span>(Job) + 1000 |
|
1 |
PrintBitmap(Job, "CORP.BMP", LocX, LocY, 1000,1000) |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest