IWxView.SelectionStyle

Syntax

SelectionStyle: IWxSelectionStyle;

Description

The SelectionStyle property determines parameters for formatting the selected object in a workspace.

Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Sub UserProc;

Var

ws: IWxWorkspace;

view : IWxView;

SStyle : IWxSelectionStyle;

Begin

view := ws.CreateView;

SStyle := view.SelectionStyle;

SStyle.ActivePointColor := GxColor.FromName("Blue");

SStyle.SelectedRotationPointColor := GxColor.FromName("Pink");

SStyle.SelectionPointStyle := WxSelectionPointStyle.Corners;

SStyle.SelectionPointSize := 2;

SStyle.ActiveRotationPointColor := New GxColor.CreateRGB(0,128,255);

SStyle.ConnectionPointColor := New GxColor.CreateRGB(0,192,0);

End Sub UserProc;

After executing the example a selection style for objects in a workspace is set.

See also:

IWxView