PhotoshopCC 2015.5
Object

TextItem

The text object contained in an art layer.

Properties

NameType AccessDescription
Boolean read/write If true, alternate ligatures are used.
AntiAlias
read/write The method of anti-aliasing to use.
AutoKernType
read/write Options for auto kerning.
Number read/write The percentage to use for auto leading. Range: 0.01 to 5000.00.
UnitValue read/write The amount of baseline offset of text.
Case
read/write The case of the text.
SolidColor read/write The text color.
String read/write The actual text in the layer.
Number read/write The desired amount (as a percentage) to scale the horizontal size of the text letters. Range: 50 - 200; at 100, the width of characters is not scaled. Valid only for justified text.
Number read/write The amount of space (as a percentage) between letters. Range: 100 - 500; at 0, no space is added between letters. Valid only for justified text.
Number read/write The amount (as a percentage) of space between words. Range: 0 -1000; at 100, no additional space is added between words. Valid only for justified text.
Direction
read/write The text orientation.
Boolean read/write If true, faux bold is used.
Boolean read/write If true, faux italic is used.
UnitValue read/write The amount to indent the first line of paragraphs. Range: -1296 to 1296.
String read/write The text face of the character.
Boolean read/write If true, uses Roman hanging punctuation.
UnitValue read/write The height of the bounding box for paragraph text.
Int read/write Character scaling (horizontal) in proportion to horizontal scale. Range: 0 - 1000 as a percentage.
Int read/write The maximum number of consecutive lines that can end with a hyphenated word.
Int 1–15 read/write The number of letters after which hyphenation in word wrap is allowed. Range: 1 to 15.
Int 1–15 read/write The number of letters before which hyphenation in word wrap is allowed. Range: 1 to 15.
Boolean read/write If true, capitalized words can be hyphenated.
Int 0–25 read/write The minimum number of letters a word must have in order for hyphenation in word wrap to be allowed. Range: 2 to 25.
Boolean read/write If true, hyphenation is used.
UnitValue read/write The distance at the end of a line that will cause a word to break in unjustified type. Range: 0 - 720 picas.
Justification
read/write The paragraph justification.
TextType
read/write The type of text.
Language
+5 more
read/write The language.
UnitValue read/write The leading amount.
UnitValue read/write The amount to indent text from the left. Range: -1296 to 1296.
Boolean read/write If true, ligatures are used.
Number read/write The maximum amount (as a percentage) to scale the horizontal size of the text letters. Range: 50 - 200; at 100, the width of characters is not scaled. Valid only for justified text.
Number read/write The maximum amount (as a percentage) of space between letters. Range: 100 - 500; at 0, no space is added between letters. Valid only for justified text.
Number read/write The maximum amount (as a percentage) of space between words (0 -1000; at 100, no additional space is added between words). Valid only for justified text.
Number read/write The minimum amount (as a percentage) to scale the horizontal size of the text letters. Range: 50 - 200; at 100, the width of characters is not scaled. Valid only for justified text.
Number 100–500 read/write The minimum amount of space (as a percentage) between letters. Range: 100 to 500; at 0, no space is added between letters. Valid only for justified text.
Number read/write The minimum amount (as a percentage) of space between words. Range: 0 -1000; at 100, no additional space is added between words. Valid only for justified text.
Boolean read/write If true, words are not allowed to break at the end of a line. When enacted on large amounts of consecutive characters, can prevent word wrap and thus may prevent some text from appearing on the screen.
Boolean read/write If true, old style is used.
The readonly The object's container.
UnitPoint read/write The position of the origin for the text. The array must contain two values. Setting this property is basically equivalent to clicking the text tool at a point in the document to create the point of origin for text.
UnitValue read/write The amount to indent text from the right. Range: -1296 to 1296.
UnitValue read/write The font size in points.
UnitValue read/write The amount of space after each paragraph. Range: -1296 to 1296.
UnitValue read/write The amount of space before each paragraph. Range: -1296 to 1296.
StrikeThruType
read/write The strike through option to use.
TextComposer
read/write The text composing engine to use.
Number read/write The amount of uniform spacing between multiple characters. Range: -1000 to 10000.
String readonly The class name of the object.
UnderlineType
read/write Options for underlining the text.
Boolean read/write If true, uses the font's built-in leading information.
Int read/write Character scaling (vertical) in proportion to horizontal scale. Range: 0 - 1000 as a percentage.
Number read/write The warp bend percentage. Range: -100 to 100.
Direction
read/write The warp direction.
Number read/write The warp horizontal distortion percentage. Range: -100 to 100.
WarpStyle
+4 more
read/write The style of warp.
Number read/write The warp vertical distortion percentage. Range: -100 to 100.
UnitValue read/write The width of the bounding box for paragraph text.

Methods

void

Converts the text object and its containing layer to a fill layer with the text changed to a clipping path.

void

Creates a clipping path from the outlines of the actual text items (such as letters or words).

Object of 1

Properties elsewhere that hold a TextItem.