Setting Linecolor of all underlying shapes

dear aspose.diagram support.


If a shape X consists of multiple shapes, then setting the linecolor of X wont have any effect as I need to set the linecolor of all underlying shapes to have effect, ie

for each s as aspose.diagram.shape in X
s.line.linecolor.value="#FF0000"
next s

Is there no feature to do so automatically on the root shape X without having to iterate over each subshape ?

thnak you,

guido

Hi Guido,


Thank you for contacting support. If you’ll change the line color of a group shape, then it’ll also change the line color of sub shapes. You don’t need to iterate through the sub shapes. Please also refer to this help topic: Change the Line Color of Visio Shape

If this does not help, then please send us your source Visio drawing and code for the investigation purposes. We’ll share our findings with you.

thnaks, I am using an old version of the dll - maybe it works in the latest version. Will check against the newest evrsion.

Hi Guido,


Sure, please take your time and let us know if you come across any problem. We’ll be happy to help you appropriately.