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 repository contains a workspace with the WSP identifier.
Add links to the Andy, 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.SelectionPointStyle := WxSelectionPointStyle.Corners;
// Save changes
(ws As IMetabaseObject).Save;
End Sub UserProc;
After executing the example four points for the selection type are set.
See also: