Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Jonas on July 19, 2009, 11:21:30 pm
-
Hi,
I want to write a small add-in for EA which should be able of highlighting single elements of the currently opened diagram(s), but I don't know how.
Until now a can only access the DiagramObject(s) of the current diagram, but I don't find any properties like "ForegroundColor", "BackgroundColor" or something similar.
Does anyone know if this is actually possible (and maybee how)?
Thanks,
Jonas
-
There's a SetStyle method on the DiagramObject which allows some of the things you want:
http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/diagramobjects.html#settingthestyle