Go to Contents
Previous
Page
Next
Page
Contents > Functions reference (alphabetical list) > Text formatting functions > TextSizeRemove function

TextSizeRemove function
Format

TextSizeRemove(text{;sizeToRemove})
Parameters
text - any text expression or text field
sizeToRemove - any font size expressed as an integer
Parameters in curly braces { } are optional.
Data type returned
text
Description
Removes all font sizes in text, or removes the font size specified by sizeToRemove. If you don't specify a size, all of the text displays in the default font size that was set in Layout mode for the field. When the font size is specified by sizeToRemove, only the specified font size is removed from every portion of the text displayed in that size and these same portions of the text are then displayed in the field's default font size.
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.
Examples
TextSizeRemove("10 Point Text and 18 Point Text") returns 10 Point Text and 18 Point Text displayed in the field's default font size.
TextSizeRemove("10 Point Text and 18 Point Text";18) returns 10 Point Text and 18 Point Text with the 18 point font size removed from the words 18 Point Text.
Related topics
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas
Formatting text

Contents > Functions reference (alphabetical list) > Text formatting functions > TextSizeRemove function
Previous
Page
Next
Page