PrintY
PowerScript function
Description
Reports the y coordinate of the print cursor.
Syntax
|
1 |
PrintY ( printjobnumber ) |
|
Argument |
Description |
|---|---|
|
printjobnumber |
The number the PrintOpen function assigned to the |
Return value
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 2 3 4 5 6 7 |
integer LocX, LocY long Job Job = PrintOpen() ... //Print statements LocX = PrintX(Job) LocY = PrintY(Job) + 1000 PrintBitmap(Job, "CORP.BMP", LocX, LocY, 1000,1000) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest