Hello,
I get wrong inherited fill, line and font colors in some cases.
For my test diagram I get #FFFFFF inherit fill foreground color for shapes with ID 1 and 2, #4672C4 for ID 4 (all of them have #4672C4 color).
But if I get color for ID 1 and 2 after ID 4, I will get right color #4672C4.
InheritChar property has Color value ‘0’.
For “Dynamic connectors” property Line.LineColor.Value is empty, property LineStyle is null, property MasterShape.LineStyle.Line.LineColor.Value has color value “Themed”.
How can I get color`s value?
ID:1, shape.NameU:Rectangle, Foreground Color:
ID:1, shape.NameU:Rectangle, Inherit Foreground Color: #FFFFFF
ID:1, shape.NameU:Rectangle, Inherit Font Color: 0
ID:2, shape.NameU:Ellipse, Foreground Color:
ID:2, shape.NameU:Ellipse, Inherit Foreground Color: #FFFFFF
ID:2, shape.NameU:Ellipse, Inherit Font Color: 0
ID:3, shape.NameU:Dynamic connector, Line Color:
ID:3, shape.NameU:Dynamic connector, LineStyle Color:
ID:3, shape.NameU:Dynamic connector, MasterShape LineStyle Color: Themed
ID:4, shape.NameU:Square, Foreground Color:
ID:4, shape.NameU:Square, Inherit Foreground Color: #4672C4
ID:4, shape.NameU:Square, Font Color:
ID:4, shape.NameU:Square, Inherit Font Color: 0
------------ Step 2 ------------
ID:1, shape.NameU:Rectangle, Foreground Color:
ID:1, shape.NameU:Rectangle, Inherit Foreground Color: #4672C4
ID:1, shape.NameU:Rectangle, Inherit Font Color: 0
ID:2, shape.NameU:Ellipse, Foreground Color:
ID:2, shape.NameU:Ellipse, Inherit Foreground Color: #4672C4
ID:2, shape.NameU:Ellipse, Inherit Font Color: 0
ID:3, shape.NameU:Dynamic connector, Line Color:
ID:3, shape.NameU:Dynamic connector, LineStyle Color:
ID:3, shape.NameU:Dynamic connector, MasterShape LineStyle Color: Themed
ID:4, shape.NameU:Square, Foreground Color:
ID:4, shape.NameU:Square, Inherit Foreground Color: #4672C4
ID:4, shape.NameU:Square, Font Color:
ID:4, shape.NameU:Square, Inherit Font Color: 0
test.zip (64.3 KB)