Hello. Is there any way to add a .ttf file here?
You can add a font to your application, but not to the system fonts collection
Coding Examples: My Web Site | CodeBank Submissions | My Community Wiki User PageFeatures: Sorting Techniques | DataGridView PrintingOnline Games: hangMan | masterMind | sudoku | crack the lock | numbers game | Fit Words | Fit Numbers | Crossword HangmanCompiled Games: Puzzle Games
Code: Dim pfc As New PrivateFontCollection() pfc.AddFontFile("C:\Path To\PALETX3.ttf") label1.Font = New Font(pfc.Families(0), 16, FontStyle.Regular)
Dim pfc As New PrivateFontCollection() pfc.AddFontFile("C:\Path To\PALETX3.ttf") label1.Font = New Font(pfc.Families(0), 16, FontStyle.Regular)
I see. Thank you.
You can add to your windows fonts collection, but it’s not done in vb… https://www.barcodefaq.com/knowledge-base/ttf-install/
View Tag Cloud
Forum Rules