Category: Text Formatting
Syntax: TextSizeRemove ( text {; sizeToRemove} ) |
Parameters:
textAny text expression or text field.
sizeToRemoveAny font size expressed as an integer.
Parameters in curly braces { } are optional.
Data type returned: Text
Description:
Removes all font size applications in text, or removes just the font size specified by sizeToRemove. The text in question will then adopt whatever font size has been specified for the layout object in which it displays.
Note that text formatting functions only work for data returned as text.
Examples:
Function | Results |
---|---|
TextSizeRemove ("It should be 8pt anyway") | Returns It should be 8pt anyway without font sizes specified. It then will display in the fields default font size. |
TextSizeRemove ("Its too small!!"; 6 ) | Returns Its too small!! with the 6 point font size removed. |
: 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