Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


How to find the height of character of a label control


How to find the height of character of a label control

Author
Message
neuro
neuro
Forum God
Forum God (327 reputation)Forum God (327 reputation)Forum God (327 reputation)Forum God (327 reputation)Forum God (327 reputation)Forum God (327 reputation)Forum God (327 reputation)Forum God (327 reputation)Forum God (327 reputation)

Group: Forum Members
Posts: 1, Visits: 1

Hello!

 I have to find the height of the character displayed on a label. Is there any method to find it directly in vb or which API should i use for this purpose. Please help its urgent

Thanks (in advance)

 


DigiRev
DigiRev
Forum God
Forum God (23K reputation)Forum God (23K reputation)Forum God (23K reputation)Forum God (23K reputation)Forum God (23K reputation)Forum God (23K reputation)Forum God (23K reputation)Forum God (23K reputation)Forum God (23K reputation)

Group: Forum Members
Posts: 511, Visits: 265
You can use the .TextHeight() method.

For example:

Height = FormName.TextHeight(Label.Caption)
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search