LoadInk – PB Docs 2019

LoadInk

PowerScript function

Description

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

Applies to

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 value

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

LoadPicture

ResetInk

ResetPicture

SaveInk

Save


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