TextSize

Changes the font size of specified text to fontSize.

Format 

TextSize ( text ; fontSize )

Parameters 

text - any text expression or text or number field

fontSize - any font size expressed as an integer

Data type returned 

text, number

Originated in version 

7.0

Description 

The font size is described in points (72 points to the inch). Text formatting options will be lost if the data type that is returned is something other than text or number.

Example 1 

TextSize ( "Plaid" ; 18 ) returns the word Plaid in 18 point text.

TextSize ( "Plaid" ; 24 ) returns the word Plaid in 24 point text.

Example 2 

TextSize ( TextFont ( TextColor ( MyTable::MyText ; RGB ( 0 ; 125 ; 125 ) ) ; "Courier" ) ; 12 ) returns the text contained in MyTable::MyText formatted as 12-point. green text with the Courier font.