RoundedRectanglePointColor: IGxColor;
The RoundedRectanglePointColor property determines the color of a rounded point for the selected object.
Executing the example requires that the repository contains a workspace with the WSP identifier.
Add links to the Andy, Drawing, Metabase, Workspace system assemblies.
Sub UserProc;
Var
MB: IMetabase;
Wsp: IWxWorkspace;
View: IWxView;
SStyle: IWxSelectionStyle;
Begin
MB := MetabaseClass.Active;
// Get workspace
Wsp := MB.ItemById("WSP").Edit As IWxWorkspace;
View := Wsp.CreateView;
SStyle := View.SelectionStyle;
SStyle.RoundedRectanglePointColor := GxColor.FromName("Blue");
// Save changes
(Wsp As IMetabaseObject).Save;
End Sub UserProc;
After executing the example will the color of rounded points for the selected object is set.
See also: