ConnectionPointColor: IGxColor;
ConnectionPointColor: Prognoz.Platform.Interop.Drawing.IGxColor;
The ConnectionPointColor property determines the color of object connection points.
Executing the example requires that repository contains a workspace with the WSP identifier.
Add links to the Andy, Drawing, Metabase, Workspace system assemblies.
Sub UserProc;
Var
MB: IMetabase;
ws: IWxWorkspace;
view: IWxView;
SStyle: IWxSelectionStyle;
Begin
MB := MetabaseClass.Active;
// Get workspace
ws := MB.ItemById("WSP").Edit As IWxWorkspace;
view := ws.CreateView;
SStyle := view.SelectionStyle;
SStyle.ConnectionPointColor := New GxColor.CreateRGB(0, 128, 255);
// Save changes
(ws As IMetabaseObject).Save;
End Sub UserProc;
After executing the example the color for object connection points is set.
See also: