Reference > Functions reference > Text formatting functions
 

Text formatting functions

Text formatting functions can be used to change the color, font, size, and style of the specified text. For example, you could use the TextFont function to change the font of the specified text from Arial to Courier. You can use these functions together to change the appearance of text on your layouts.

Text formatting functions operate on these parameters:

fields of type text

text constants (in quotations)

expressions having a text result

 

This function

Does this

RGB

Returns an integer number from 0 to 16777215, obtained by combining color values for red, green, and blue.

TextColor

Changes the color of text to the color specified by the RGB function.

TextColorRemove

Removes all font colors in specified text, or removes the font color specified by the RGB function.

TextFont

Changes the font of text to the specified fontName.

TextFontRemove

Removes all fonts or the fontToRemove from specified text.

TextFormatRemove

Removes all text formatting from specified text in a single action.

TextSize

Changes the font size of specified text to fontSize.

TextSizeRemove

Removes all font sizes in text or the font sizeToRemove.

TextStyleAdd

Adds the specified styles to text in a single action.

TextStyleRemove

Removes the specified styles from text in a single action.

Related topics 

About formulas

About functions