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

LoadInk – PB Docs 126 – PowerBuilder Library

LoadInk – PB Docs 126

LoadInk PowerScript function

Description

Loads ink from a file or blob into an InkPicture control.

Controls

InkPicture controls

Syntax

Argument

Description

inkpicname

The name of the InkPicture control into
which you want to load ink.

t

A string containing the name and location
of a file that contains the ink you want to load into the control.

b

The name of a blob passed by reference
that contains the ink you want to load into the control.

Return Values

Integer. Returns 1 for success and -1
for failure.

Usage

Use the LoadInk function to load ink that
has been saved to a file or a blob into the control.

Examples

The following example loads ink from a file. Since
the user will select a single file, the second argument to GetFileOpenName contains
the file’s path and its name, so the third argument can
be ignored:

The following example loads ink from a blob:

See Also


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