Jump to content

Insidiso

Newbies
  • Posts

    1
  • Joined

  • Last visited

Insidiso's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hello! I’m writing my graphics editor. Now I’m on stage of realization text tool. I use TextBox control and I ran into problem, namely, if I redraw textBox.Text on bitmap then this text is drawn at the wrong place. It is shifted slightly depending on the font. Here is a piece of code: var g = Graphics.FromImage(bitmap); g.DrawString(textBox.Text, textBox.Font, new SolidBrush(textBox.ForeColor), textBox.Location); Could you tell me how to solve this problem? In order to have text drawn at the same place. By the way, which control for text do you use in your Paint.NET?
×
×
  • Create New...