Creates an ImageElement object from the specified file.
Namespace:
Neodynamic.WebControls.ImageDrawAssembly: Neodynamic.WebControls.ImageDraw (in Neodynamic.WebControls.ImageDraw.dll)
Version: 4.0.2000.0 (4.0.2000.0)
Syntax
C# |
---|
public static ImageElement FromFile( string fileName ) |
Visual Basic (Declaration) |
---|
Public Shared Function FromFile ( _ fileName As String _ ) As ImageElement |
Visual C++ |
---|
public: static ImageElement^ FromFile( String^ fileName ) |
Parameters
- fileName
- Type: System..::.String
A string that contains the name of the file from which to create the ImageElement object.