Determine width of a string in StatusBarLabelPanel

Docking/MDI for Windows Forms Forum

Posted 18 years ago by Keith Hill
Avatar
I can't seem to access the font used by this control but I would like to measure how wide a string is in that font in order to set the width. Any ideas on how can I do this?

Comments (2)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Keith,

Our VisualStudio2005StatusBarRenderer for instance uses the StatusBarPanelDefaultFont property on itself for the Font.


Actipro Software Support

Posted 18 years ago by Keith Hill
Avatar
That works. Thx.
The latest build of this product (v24.1.0) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.