FontSize - DfBaseWindow

Obsolete Returns/sets the font size of the current font

Type: Property

Access: Read/Write

Data Type: Folded Integer

Parameters: None



Use FontPointHeight.

The purpose of the FontSize message is to override the default font size of the current font.

Set Fontsize to 10 30

This is a folded integer property.

When this property is set, two integer parameters are passed as specified in the parameter list. When the value of the property is retrieved, the value of these two properties is returned as a folded integer. The value of these parameters can be accessed using the hi() and low() functions.

The property is set as follows:

Set FontSize to iHeight iWidth

The property is retrieved as follows:

Get FontSize to iValue
Move (Hi(iValue)) to iHeight
Move (Low(iValue)) to iWidth

Use piFontSize instead of FontSize for the cRichEdit class.