Hi, How can i use DOS fonts like COURIER (not COURIER NEW) in vb.net with GDI+. Thanks in Advance
Dont you need to install the fonts first in your system fonts directory ?
Is this what you mean? VB Code: Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint e.Graphics.DrawString("abcgqjtlDEF", New Font("Courier", 10), Brushes.Red, 100, 100) End Sub
Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint e.Graphics.DrawString("abcgqjtlDEF", New Font("Courier", 10), Brushes.Red, 100, 100) End Sub
I don't live here any more.
Forum Rules