We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to get a unique shape from word document

Hi There,

In my word file, I have multiple shapes. And I need to change the color of these shapes dynamically.
(Each shape will have a different color)

To update the color I found Shape.FillColor method but

My questions are -

How can I get each shape individually using Aspose.Words library?
What change should I make in word file (just like name or id) to identify shapes uniquely?



I think, you can make use of Shape.AlternativeText property to achieve what you are looking for. Please let us know if we can be of any further assistance.