CharWidth property (WinStudio scripts)
Applies To
IWSForm interface
Definition
Returns the width of base font characters in terms of screen units. Read-only.
Syntax
object.CharWidth
| 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