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 in 8pt font. |
TextSize ("Large print book"; 18) | Returns . |
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information