Adobe Photoshop CS5 Object Library JS: Justification

Photoshop CS5

 The placement of paragraph text within the bounding box.

Value

NameDescriptionValue
Justification.CENTERText is centered on each line. int 2
Justification.CENTERJUSTIFIEDJustifies all lines except the last, which is center-aligned. int 5
Justification.FULLYJUSTIFIEDJustifies all lines including the last, which is force-justified. int 7
Justification.LEFTAligns the left edges, leaving the right edge ragged. int 1
Justification.LEFTJUSTIFIEDJustifies all lines except the last, which is left-aligned. int 4
Justification.RIGHTAligns the right edges, leaving the left edge ragged. int 3
Justification.RIGHTJUSTIFIEDJustifies all lines except the last, which is right-aligned. int 6

Usage

As property

TextItem.justification

Jongware, 28-Aug-2012 v3.0.3iContents :: Index