Image Constructor (String)

SFML.Net

Image Constructor (String)
Construct the image from a file

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public Image(
	string filename
)
Public Sub New ( 
	filename As String
)
public:
Image(
	String^ filename
)
new : 
        filename : string -> Image

Parameters

filename
Type: SystemString
Path of the image file to load
Exceptions
ExceptionCondition
LoadingFailedException
See Also