How to achieve Object-> Arrange -> Send Backward
How to achieve Object -> Arrange -> Send Backward illustrator.

Please guide me any Api function available for achieve Send Backward option.
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, 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
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.