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)

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

Exception | Condition |
---|---|
LoadingFailedException |
