GxImage: LoadImage

LoadImage

This method loads the image from a specified file.



 Public Function LoadImage(
	  ByVal filename As String ) As Long

Parameters

filename
The name of image file to load the image from.

Return Values

On error false (0) is returned and the error code/string in the GX system is set appropriately.

Languages

[Visual Basic] Public Function LoadImage(ByVal filename As String) As Long

[Delphi] function LoadImage(const filename : WideString) : Integer;

[C++] long LoadImage(LPCTSTR filename);

Remarks

See Also

Class GxImage Overview GxImage Properties GxImage Methods LoadFromMem LockImage