• Post Reply Bookmark Topic Watch Topic
  • New Topic

Labelling a line

 
Joel Cochran
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a class that will label a line? For example, I have a line that represents 10ft. Right now I draw the line like so (only solid)...
------------------
I want it to look like this...
------- 10 -------
Anyone have any ideas?
Joel
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may have to use a drawString between. Which is probably what you didn't want to do. But if anyone created a method for that they probably used drawString and 2 draw lines or just drew the string right over the line.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!