In API 1.0 I have the line:
Var myColour As Integer = myRectangle.FillColor.ToString.Val
but this doesn’t work in API 2.0 since FillColor is now a ColorGroup (ie supports Light/Dark colours). Is there an easier way to retrieve the colour than this?:
Var tempColour As Color = myRectangle.FillColor
Var myColour As Integer = tempColour.ToString.Val