Skip to content

FontHeight - FontDialog

Specifies the height, in logical units, of the font's character cell or character

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer FontHeight
Access Type Syntax
Read Access: Get FontHeight to IntegerVariable
Write Access: Set FontHeight to IntegerVariable/Value

Description

FontHeight specifies the height, in logical units, of the font's character cell or character. If set to 1, the Hi value of the FontSize of this object will be passed to the font dialog.

Procedure SetupSize
  Integer Selected

  Get FontDialog To Selected
  If Selected ;
    Set FontSize of (FontTextBox(self)) To ;
                 (FontHeight(FontDlg)) ;
                 (FontWidth(FontDlg))
End_procedure // SetupSize