Enumeration
LayoutRuleOptions
Options for setting the layout rule on a page.
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 = 1280329538 | readonly | Use guide slicing to resize objects on the page as it resizes. | |
| Number = 1280331586 | readonly | Reposition and resize objects on the page as it resizes. | |
| Number = 1330005536 | readonly | No layout rule on the page as it resizes. | |
| Number = 1280331890 | readonly | Use existing layout rule setting on the page. Used for creating alternate layouts. | |
| Number = 1280332387 | readonly | Recenter objects on the page as it resizes. | |
| Number = 1280332643 | readonly | Scale objects on the page as it resizes. | |
| Number = 1280333133 | readonly | Use layout rule from the page's applied master page. |
Object of 1
Properties elsewhere that hold an LayoutRuleOptions value.
Parameter of 1
Method parameters that accept an LayoutRuleOptions value.