TextSizeRemove()
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. |
Категории