Options for aligning or distributing objects.
| Name | Description | Value |
|---|---|---|
| ITEM_BOUNDS | Align or distribute to the bounds of the objects. | 1416587604 = ‘ToiT’ |
| PAGE_BOUNDS | Align or distribute to the bounds of the page. | 1416589377 = ‘TopA’ |
| MARGIN_BOUNDS | Align or distribute to the margins of the page. | 1416588609 = ‘TomA’ |
| SPREAD_BOUNDS | Align or distribute to the bounds of the spread. | 1416590160 = ‘TosP’ |
Usage:
- In function:
-
void Document.align (
alignDistributeItems:
Array of PageItem, alignOption:
AlignOptions[, alignDistributeBounds:
AlignDistributeBounds ]
) -
void Document.distribute (
alignDistributeItems:
Array of PageItem, distributeOption:
DistributeOptions[, alignDistributeBounds:
AlignDistributeBounds ][, useDistributeMeasurement:
bool][, absoluteDistributeMeasurement:
number]
)
-
void Document.align (
- As property:
- AlignDistributePreference.alignDistributeBounds