Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieving Text from drawString()

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to retrieve text that was drawn on a control
with the drawString method?
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not that I know of. It is a PAINTING of the words with no text formatting. If you are trying to work with and manipulate text, the Graphics class is probably not your best bet.
 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. Unfortunately, I don't have anyt control over the way
the text is put on the control. So I can't change the painting.
Just trying to research any possible way of getting it off.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, scanners that can interpret pixels INTO text do it somehow, so surely it CAN be done. Just don't know how.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic