Skip to main content
systems01h61704443
Known Participant
August 11, 2020
Answered

How to achieve Object-> Arrange -> Send Backward

  • August 11, 2020
  • 1 reply
  • 1312 views

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

 

 

Please guide me any Api function available for achieve Send Backward option. 

This topic has been closed for replies.
Correct answer Manan Joshi

Try the zOrder method. Quoting the api documentation below

PageItem.zOrder()

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

ZOrderMethod

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

1 reply

Manan JoshiCommunity ExpertCorrect answer
Community Expert
August 11, 2020

Try the zOrder method. Quoting the api documentation below

PageItem.zOrder()

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

ZOrderMethod

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

-Manan
systems01h61704443
Known Participant
August 12, 2020

Thanks for your replay.

We need to know how to use these kAISendSelectionBackwardAction ActionEvent.