Creates an Image from a file containing image data.
Syntax

[C#]

static Image FromFile(string filename);

[Visual Basic]

Shared Function FromFile(filename As String) As Image
Params
Name Description
filename The path to a file.
return The newly created Image.
Notes

None.

Example

None.