Image::canLoad Method [AX 2012]

Determines whether an image file exists and can be opened.

client public static int canLoad(str filename)

Run On

Client

Parameters

filename
Type: str
The name and path of the file to check.

Return Value

Type: int
1 if the image is found and can be opened; otherwise, 0.
Show: