Font Constructor (String)

SFML.Net

Font Constructor (String)
Construct the font 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 Font(
	string filename
)
Public Sub New ( 
	filename As String
)
public:
Font(
	String^ filename
)
new : 
        filename : string -> Font

Parameters

filename
Type: SystemString
Font file to load
Exceptions
ExceptionCondition
LoadingFailedException
See Also