Rectangle r = e.Bounds;
e.Graphics.DrawString(str,this.Font,Brushes.Black,r);
I neet to detect wether string cross the rectangle or not
Rectangle r = e.Bounds;
e.Graphics.DrawString(str,this.Font,Brushes.Black,r);
I neet to detect wether string cross the rectangle or not
Get string length in pixels
Michael Tsai
Hi
You can Mesure a string in Points using the Method MeasureString of the Graphics object.
Kyco