Enumeration
Justification
Text alignment options.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1633772147 | readonly | Aligns text to the side opposite the binding spine of the page. | |
| Number = 1667591796 | readonly | Center aligns the text. | |
| Number = 1667920756 | readonly | Justifies text text and center aligns the last line in the paragraph. | |
| Number = 1718971500 | readonly | Justifies the text, including the last line in the paragraph. | |
| Number = 1818584692 | readonly | Left aligns the text. | |
| Number = 1818915700 | readonly | Justifies the text and left aligns the last line in the paragraph. | |
| Number = 1919379572 | readonly | Right aligns the text. | |
| Number = 1919578996 | readonly | Justifies the text and right aligns the last line in the paragraph. | |
| Number = 1630691955 | readonly | Aligns text to the binding spine of the page or spread. |
Object of 18
Properties elsewhere that hold an Justification value.
ChangeGrepPreference.justificationChangeTextPreference.justificationChangeTransliteratePreference.justificationCharacter.justificationFindGrepPreference.justificationFindTextPreference.justificationFindTransliteratePreference.justificationInsertionPoint.justificationLine.justificationParagraph.justificationParagraphStyle.justificationStory.justificationText.justificationTextColumn.justificationTextDefault.justificationTextStyleRange.justificationWord.justificationXmlStory.justification