FontSize - DfBaseWindow
Obsolete Returns/sets the font size of the current font
Type: Property
Access: Read/Write
Data Type: FoldedInteger
Parameters: None
Parameters
| Parameter | Type | Description |
|---|---|---|
| iHeight | Integer |
Syntax
Property FoldedInteger FontSize
| Access Type | Syntax |
|---|---|
| Read Access: | Get FontSize to FoldedIntegerVariable |
| Write Access: | Set FontSize to FoldedIntegerVariable/Value |
Description
Obsolete
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
| Col 1 | Col 2 |
|---|---|
| Note: | Use piFontSize instead of FontSize for the cRichEdit class. |