text text

Layer text. Specifies text and formatting content for a text layer.

text= *string*

Rich-text-formatted (RTF) string or plain-text string.

All font, font color, and paragraph formatting control is achieved using RTF commands. Refer to Text Formatting for additional information.

text= supports automatic scaling of the text to fill the layer rectangle specified with size=.

See textAttr=.

text= supports automatic sizing of the text layer to fit the rendered text (when size= is not specified or when only the width is specified). Note that in this case only one of the RTF alignment commands \ql, \qr, and \qc may be applied; an error is returned otherwise.

Properties section-8c0f020094a44c6b858454ef91ab4edf

Layer attribute. Applies to layer=0 if layer=comp. Mutually exclusive with src= and textPs= in the same layer; the last occurrence of text=, textPs=, and src= prevails and determines whether this is an image or a text layer. Ignored by effect layers.

Default section-58958671e0ad479e8d5f6c1d41d7dc74


Example section-d011f765ec5c418d814a821019b0eef0

See the examples in Text Formatting and Example A in Templates.

See also section-207b779ab67342a5acd343e6bcc749c4

Text Formatting, Text Positioning, src=, textAttr=, textPs=