Enumeration
RuleWidth
Options for specifying an object on which to base the width of the paragraph rule above.
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 = 1265399652 | readonly | Makes the rule the width of the column. | |
| Number = 1886681207 | readonly | Makes the paragraph rule above the width of the first line of text in the paragraph. |
Object of 24
Properties elsewhere that hold an RuleWidth value.
Character.ruleAboveWidthCharacter.ruleBelowWidthInsertionPoint.ruleAboveWidthInsertionPoint.ruleBelowWidthLine.ruleAboveWidthLine.ruleBelowWidthParagraph.ruleAboveWidthParagraph.ruleBelowWidthParagraphStyle.ruleAboveWidthParagraphStyle.ruleBelowWidthStory.ruleAboveWidthStory.ruleBelowWidthText.ruleAboveWidthText.ruleBelowWidthTextColumn.ruleAboveWidthTextColumn.ruleBelowWidthTextDefault.ruleAboveWidthTextDefault.ruleBelowWidthTextStyleRange.ruleAboveWidthTextStyleRange.ruleBelowWidthWord.ruleAboveWidthWord.ruleBelowWidthXmlStory.ruleAboveWidthXmlStory.ruleBelowWidth