how to move selected text on picturebox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • quadri
    New Member
    • Feb 2008
    • 17

    how to move selected text on picturebox

    Im writing text on picture box in paint event using this code

    e.Graphics.Draw String(TextBox1 .Text, Font, Brushes.Black, 0, 0);
    pictureBox1.Inv alidate();



    i need to move selected text "up/down/right/left"
    any idea?

    -TIA
  • vanc
    Recognized Expert New Member
    • Mar 2007
    • 211

    #2
    Originally posted by quadri
    Im writing text on picture box in paint event using this code

    e.Graphics.Draw String(TextBox1 .Text, Font, Brushes.Black, 0, 0);
    pictureBox1.Inv alidate();



    i need to move selected text "up/down/right/left"
    any idea?

    -TIA
    If you have the original picture then you can refresh the picture and redraw the text at whenever you want!!!

    Cheers.

    Comment

    • quadri
      New Member
      • Feb 2008
      • 17

      #3
      Originally posted by vanc
      If you have the original picture then you can refresh the picture and redraw the text at whenever you want!!!

      Cheers.
      Hi
      but how can i select the text on picturebox??

      Comment

      Working...