IWxSelectionStyle.SelectedRotationPointColor

Syntax

SelectedRotationPointColor: IGxColor;

SelectedRotationPointColor: Prognoz.Platform.Interop.Drawing.IGxColor;

Description

The SelectedRotationPointColor point determines the color of rotation points for all next to the last selected objects.

Example

Executing the example requires that repository contains a workspace with the WSP identifier.

Add links to the Andy, Drawing, 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.SelectedRotationPointColor := GxColor.FromName("Blue");
    
// Save changes
    (ws As IMetabaseObject).Save;
End Sub UserProc;
Imports Prognoz.Platform.Interop.Andy;
Imports Prognoz.Platform.Interop.Drawing;
Imports Prognoz.Platform.Interop.Workspace;

 
Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    ws: IWxWorkspace;
    view: IWxView;
    SStyle: IWxSelectionStyle;

    Color: GxColorClassClass = New GxColorClassClass();
Begin
    MB := Params.Metabase;
    
// Get workspace
    ws := MB.ItemById["WSP"].Edit() As IWxWorkspace;
    view := ws.CreateView();
    SStyle := view.SelectionStyle;

   
 SStyle.SelectedRotationPointColor := Color.FromName("Blue");
   
    
// Save changes
    (ws As IMetabaseObject).Save();
End Sub;

Executing the example will specify the color of rotation points for all next to the last selected objects.

See also:

IWxSelectionStyle