text

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

text= *string*

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

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

None.

Example

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

See also

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

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now