Results 1 to 3 of 3

Thread: Help me...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    174

    Help me...

    Hi,
    How can i use DOS fonts like COURIER (not COURIER NEW) in vb.net with GDI+.

    Thanks in Advance

  2. #2
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098
    Dont you need to install the fonts first in your system fonts directory ?

  3. #3
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    Is this what you mean?

    VB Code:
    1. Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
    2.  
    3.     e.Graphics.DrawString("abcgqjtlDEF", New Font("Courier", 10), Brushes.Red, 100, 100)
    4.  
    5. End Sub
    I don't live here any more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width