CharHeight property (WinStudio scripts)
Applies To
IWSForm interface
Definition
Returns the height of base font characters in terms of screen units. Read-only.
Syntax
object.CharHeight
Part | Description |
object | Required. A reference to a valid form object. |
Remarks
The return value is type Long.
Example
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