|
-
April 16th, 2009, 02:33 PM
#1
[RESOLVED] Determining Label Height
Is there a way I can determine, at runtime, what the height of a label must be to display the entire label caption.
The label has a predetermined width, also determined at runtime. The caption that will be displayed will be of variable length so the height must be adjusted so that the full caption can be displayed.
The font of the label can be changed e.g. different font, size, bold, italic etc. so it must be taken into account.
So I have available at runtime:
1. The caption that must be displayed.
2. The width of the label.
3. The font, size etc.
If possible; How can I determine the height of the label?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|