SelectionPointStyle: WxSelectionPointStyle;
The SelectionPointStyle property determines the type of object selection.
Actually, it determines the number of points, which will be displayed when an object is selected in a workspace.
Executing the example requires that the repository contains a workspace with the WSP identifier.
Add links to the Andy, 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.SelectionPointStyle := WxSelectionPointStyle.Corners;
// Save changes
(Wsp As IMetabaseObject).Save;
End Sub UserProc;
After executing the example four points for the selection type are set.
See also: