WinStudio
IWSForm interface
Returns the height of base font characters in terms of screen units. Read-only.
object.CharHeight
Part |
Description |
object | Required. A reference to a valid form object. |
The return value is type Long.
Sub Main() ' Retrieve the value of the base font character height and width ' and display the values in a message box. Application.ShowMessage("CharHeight = " & ThisForm.CharHeight.ToString _ & vbLf & "CharWidth = " & ThisForm.CharWidth.ToString) End Sub