Remove graphic by array of ids

838
2
06-14-2017 12:39 PM
DaysieJohnson
New Contributor II

Hello, in runtime 10.2.4 we have an ability to add graphic to layer like this:

int id = addGraphic(Graphic g),

and like this:

int[] ids = addGraphic(Graphic[] g).

But when we need to remove graphic, we can do only this:

removeGraphic(int id)

Is there any way to remove many graphic objects from layer at one time, something like:

removeGraphic(int[] ids)

0 Kudos
2 Replies
nita14
by
Occasional Contributor III

Hi Daysie,

According to the documentation, there is no such method. Additionally, you can remove all grahics at one time.

Regards,


Adam

DaysieJohnson
New Contributor II

Thank you, thats sad, it seems that i need to stay with some workarounds

0 Kudos