STK X Send comments on this topic.
AdvancedPickMode Property (AgUiAx2DCntrl)
See Also  Example





Description

When set to True, appends the extended information as described below to the strings returned by ObjPath property of AgPickInfoData.

- For MTO objects, track ID associated with a Multi-Track is returned. For instance: "/Application/STK/Scenario/Test/MTO/tle-08747 2", where 2 is the track ID associated with a Multi-Track Object.

- For Satellites, the event ID for graphics time event is returned.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property AdvancedPickMode() As Boolean

[C#]
public bool AdvancedPickMode {get; set;}

[Managed C++]
public: __property bool get_AdvancedPickMode();
public: __property void set_AdvancedPickMode(
bool
);

[Unmanaged C++]
public: HRESULT get_AdvancedPickMode(
VARIANT_BOOL * pRetVal
);
public: HRESULT put_AdvancedPickMode(
VARIANT_BOOL NewAdvancedPickMode
);

[Java]
public bool getAdvancedPickMode();public void setAdvancedPickMode(
bool
);

Example

[Visual Basic .NET] Copy Code
Dim pickInfo As AGI.STKX.AgRubberBandPickInfoData

Me.AxAgUiAx2DCntrl1.AdvancedPickMode = True

pickInfo = Me.AxAgUiAx2DCntrl1.RubberBandPickInfo(x0, y0, x, y)

If pickInfo.ObjPaths.Count Then

...

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1