Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PrintLine – PB Docs 2022 – PowerBuilder Library

PrintLine – PB Docs 2022

PrintLine

PowerScript function

Description

Draws a line of a specified thickness between the specified
endpoints on the current print page.

Syntax

Argument

Description

printjobnumber

The number the PrintOpen function assigned to the print
job

x1

An integer specifying the x coordinate in thousandths of
an inch of the start of the line

y1

An integer specifying the y coordinate in thousandths of
an inch of the start of the line

x2

An integer specifying the x coordinate in thousandths of
an inch of the end of the line

y2

An integer specifying the y coordinate in thousandths of
an inch of the end of the line

thickness

An integer specifying the thickness of the line in
thousandths of an inch

Return value

Integer. Returns 1 if it succeeds and -1 if an error occurs. If any
argument’s value is null, PrintLine returns null.

Usage

PrintLine does not change the position of the print cursor, which
remains where it was before the function was called.

Examples

These statements start a new page in a print job and then print a
line starting at 0,5 and ending at 7500,5 with a thickness of 10/1000 of
an inch:

See also

PrintBitmap

PrintClose

PrintOpen

PrintOval

PrintRect

PrintRoundRect


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x