Enumeration
ParagraphBorderTopOriginEnum
Options for specifying basis of the top origin of the paragraph border.
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 = 1886606433 | readonly | Makes the paragraph border top origin based on ascent of the text in the paragraph. | |
| Number = 1886606434 | readonly | Makes the paragraph border top origin based on baseline of the text in the paragraph. | |
| Number = 1885492332 | readonly | Makes the paragraph border top origin based on leading of the text in the paragraph. |
Object of 12
Properties elsewhere that hold an ParagraphBorderTopOriginEnum value.
Character.paragraphBorderTopOriginInsertionPoint.paragraphBorderTopOriginLine.paragraphBorderTopOriginParagraph.paragraphBorderTopOriginParagraphStyle.paragraphBorderTopOriginStory.paragraphBorderTopOriginText.paragraphBorderTopOriginTextColumn.paragraphBorderTopOriginTextDefault.paragraphBorderTopOriginTextStyleRange.paragraphBorderTopOriginWord.paragraphBorderTopOriginXmlStory.paragraphBorderTopOrigin