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






Windows & Linux

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 primitives, the associated primitive ID 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.AxAgUiAxVOCntrl1.AdvancedPickMode = True

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

If pickInfo.ObjPaths.Count Then

...

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface