Share via


Image.loadImage(String) Method

Definition

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

public:
 virtual int loadImage(System::String ^ _fileName);
public virtual int loadImage (string _fileName);
abstract member loadImage : string -> int
override this.loadImage : string -> int
Public Overridable Function loadImage (_fileName As String) As Integer

Parameters

_fileName
String

The resource from which you want to load the image.

Returns

0 indicates success; otherwise, failure.

Applies to