Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# boundingbox text

...
Rectangle r = GetTextBounds(textBox1, 2, 10);
Panel panel = new Panel
{
  Bounds = r,
  BorderStyle = BorderStyle.FixedSingle,
};

this.Controls.Add(panel);
panel.Show();
panel.BringToFront();
...
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #boundingbox #text
ADD COMMENT
Topic
Name
4+3 =