LinkLabel Size

  • Thread starter Thread starter Foehammer
  • Start date Start date
F

Foehammer

Hello,
I'm trying to find a way to determine the size of the text in a
LinkLabel. I want it to automatically resize itself. Other controls
have a ContentsResized event, but the LinkLabel is sadly lacking. Any
ideas? I was thinking that I could create a Graphics object from the
control and call MeasureString to get the size of its text - when
would be the best time to do this?

Will
 
Foehammer said:
I'm trying to find a way to determine the size of the text in a
LinkLabel. I want it to automatically resize itself.

Set its 'AutoSize' property to 'True'.
 
Back
Top