Font Constructor (Byte[])

SFML.Net

Font Constructor (Byte)
Construct the font from a file in memory

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public Font(
	byte[] bytes
)
Public Sub New ( 
	bytes As Byte()
)
public:
Font(
	array<unsigned char>^ bytes
)
new : 
        bytes : byte[] -> Font

Parameters

bytes
Type: SystemByte
Byte array containing the file contents
Exceptions
ExceptionCondition
LoadingFailedException
See Also