Image.loadImage(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.