have you tried using dxFont.MeasureString? That's the only other thing I know of offhand that measures based on the dxfont. I mean, I'm sure there are other methods, I just don't know offhand! ;) But I generally use the pre-measure style of stuff as I'm typically rendering things myself.
-d
Main Topics
Browse All Topics





by: User12345Posted on 2006-03-03 at 15:57:33ID: 16099839
This is my old function-call, using CalculateRect:
* 0.71f), 60, (int)(this.Width * 0.29f), 0), DrawTextFormat.Left | DrawTextFormat.WordBreak | DrawTextFormat.ExpandTabs | DrawTextFormat.CalculateRe ct, Color.Transparent);
height = rullFont.DrawText(SPtext, wControl.chattext.Text, new Rectangle((int)(this.Width