### Add a Font

Example adding a font from a TTF file, like comic.ttf.
'Define the font.
'Ensure to copy the file comic.ttf to the dirassets (=Files) folder of the project.
Dim customfont As Font = fx.LoadFont(File.DirAssets, "comic.ttf", 30)
'Example assign the font to a View
Private LabelFontTest As Label
LabelFontTest.Font = customfont

Changed: 2018-04-28 09:39, Category: Fonts, File: T6C194M1402.htm, ID: 1402