Creates an ImageElement object from the specified file.

Namespace: Neodynamic.WebControls.ImageDraw
Assembly:   Neodynamic.WebControls.ImageDraw (in Neodynamic.WebControls.ImageDraw)
Version: 3.0.2000.0

Syntax

Visual Basic (Declaration)
Public Shared Function FromFile ( _
	fileName As String _
) As ImageElement
C#
public static ImageElement FromFile (
	string fileName
)
Visual C++
public:
static ImageElement^ FromFile (
	String^ fileName
)

Parameters

fileName
System.String
A string that contains the name of the file from which to create the ImageElement object.

Return Value

The ImageElement object this method creates.