Returns or sets the point size used in the font.
Object.Size [ = cySize ]
The Size property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AFont |
AFont object |
|
cySize |
Currency |
A number specifying the point size used in the font, expressed in currency format to allow for fractional point sizes. |
The following statement changes the font of the caption property of a button object to be of point Size 14:
cy=14
btnOK.Font.Size=cy
The following statement changes the font of a declared variable m_fontNew of type font to be of point Size 8:
cy=8
m_fontNew.Size=cy