Results 1 to 2 of 2

Thread: Fonts & GDI+

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    Fonts & GDI+

    I have this code:

    PHP Code:
                System.Drawing.Graphics lol;
                
    lol this.CreateGraphics();

                
    Font font = new Font("Verdana"10FontStyle.Bold);

                
    lol.DrawString("oiiabcd"fontBrushes.Red0,0);

                
    SizeF size lol.MeasureString("HI"font);

                
    lol.DrawLine(new Pen(Color.Red), 0100size.Width100); 
    i realised that the font that i choose is not being put in there..if i change the font it just shows me the same font 4ever...what i am doin wrong?
    \m/\m/

  2. #2

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    anyone..?
    \m/\m/

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