Image.loadImage Method

Loads an image from the file specified by the fileName parameter.

Syntax

public int loadImage(str fileName)

Run On

Client

Parameters

  • fileName
    Type: str
    The resource from which you want to load the image.

Return Value

Type: int
0 indicates success; otherwise, failure.

See Also

Reference

Image Class