Navigation: Ultimate Suite for PowerBuilder Help > Image Editor > Functions >

of_loadfromfile

Send comments on this topic.

 

Description:
 

Loads an image from the file name passed in. Once the image is loaded, the image editor is put into an "Auto Fit" state.

Syntax:

of_loadfromfile (string as_file)

Argument

Description

as_file

The file name (and path) of an image to load into the control.

Return Value:

Always returns 1 if there were no errors loading the file. Returns 0 if the file does not exist.

Usage:


Copyright © 2021 Werysoft Inc.