TextSize()
Category: Text Formatting
Syntax: TextSize ( text; fontSize ) |
Parameters:
textAny text string or expression that returns a text string.
fontSizeAny font size expressed in pixels as an integer.
Data type returned: Text
Description:
Returns the text string at the specified font size.
When TextSize() is used as part of the definition of a calculation field, the calculation should be set to return a text result. Text formatting options are lost if the data type returned is anything other than text.
Examples:
Function | Results |
---|---|
TextSize ("Hello, world!"; 8) | Returns |
TextSize ("Large print book"; 18) | Returns |
Категории