Copy link to clipboard
Copied
How to achieve Object -> Arrange -> Send Backward illustrator.
Please guide me any Api function available for achieve Send Backward option.
Try the zOrder method. Quoting the api documentation below
app.activeDocument.pageItems[index].zOrder(zOrderCmd)
Description
Arranges the art item’s position in the stacking order of the group or layer (parent) of this object.
Parameters
Parameter | Type | Description |
---|---|---|
zOrderCmd |
ZOrderMethod | Stacking order arrangement method |
Where ZOrderMethod is as follows
The method used to arrange an art item’s position in the stacking order of its parent group or layer, a
Copy link to clipboard
Copied
Try the zOrder method. Quoting the api documentation below
app.activeDocument.pageItems[index].zOrder(zOrderCmd)
Description
Arranges the art item’s position in the stacking order of the group or layer (parent) of this object.
Parameters
Parameter | Type | Description |
---|---|---|
zOrderCmd |
ZOrderMethod | Stacking order arrangement method |
Where ZOrderMethod is as follows
The method used to arrange an art item’s position in the stacking order of its parent group or layer, as specified with the zOrder method
Value | Description |
---|---|
ZOrderMethod.BRINGFORWARD |
Bring Forward |
ZOrderMethod.SENDBACKWARD |
Send Backward |
ZOrderMethod.BRINGTOFRONT |
Bring To Front |
ZOrderMethod.SENDTOBACK |
Send To Back |
-Manan
Copy link to clipboard
Copied
Thanks for your replay.
We need to know how to use these kAISendSelectionBackwardAction ActionEvent.