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

PrintBitmap – PB Docs 2019 – PowerBuilder Library

PrintBitmap – PB Docs 2019

PrintBitmap

PowerScript function

Description

Writes a bitmap at the specified location on the current
page.

Syntax

Argument

Description

printjobnumber

The number the PrintOpen function assigned to the print
job.

bitmap

A string whose value is the file name of the bitmap
image.

x

An integer whose value is the x coordinate (in thousandths
of an inch) on the page of the bitmap image.

y

An integer whose value is the y coordinate (in thousandths
of an inch) on the page of the bitmap image.

width

The integer width of the bitmap image in thousandths of an
inch. If width is 0, PowerBuilder uses the original width of the
image.

height

The integer height of the bitmap image in thousandths of
an inch. If height is 0, PowerBuilder uses the original height
of the image.

Return value

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

Usage

PrintBitmap does not change the position of the print cursor, which
remains where it was before the function was called. In general, print
functions in which you specify coordinates do not affect the print cursor
(see the functions listed in See also).

Examples

These statements define a new blank page and then print the bitmap
in file d:PBBITMAP1.BMP in its original size at location 50,100:

See also

PrintClose

PrintLine

PrintRect

PrintRoundRect

PrintOval

PrintOpen


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