I am integrating an Oracle 6i forms app which is no longer supported in latest releases of Pega Robotics unfortunately. So I am trying to find my way through. One thing I want to capture is the background color of a control. I am passing the control of Type OpenSpan.Adapters.Controls.Control but cannot find any propery leading to the color.
I also checked the API but this property doesn't exist!
As far as I know, there's no native way to get the color. I've never personally done it. You would likely need a C# script to get the screen color of a given coordinate. You might be able to translate the control's coordinates to screen coordinates, but this would require some testing to implement. If you do find a solution, it would be helpful to post here for reference.