IWxSelectionStyle.SelectionPointSize

Syntax

SelectionPointSize: Double;

SelectionPointSize: double;

Description

The SelectionPointSize property determines radius of connection points.Value is set in millimeters.

Example

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.SelectionPointSize := 2;
    // Save changes
    (ws As IMetabaseObject).Save;
End Sub UserProc;
Imports Prognoz.Platform.Interop.Andy;
Imports Prognoz.Platform.Interop.Workspace;

 
Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    ws: IWxWorkspace;
    view: IWxView;
    SStyle: IWxSelectionStyle;
Begin
    MB := Params.Metabase;
    
// Get workspace
    ws := MB.ItemById["WSP"].Edit() As IWxWorkspace;
    view := ws.CreateView();
    SStyle := view.SelectionStyle;
    SStyle.SelectionPointSize := 
2;
    
// Save changes
    (ws As IMetabaseObject).Save();
End Sub;

After executing the example the size of object selection points is set.

See also:

IWxSelectionStyle