STK X Send comments on this topic.
Alt Property (AgPickInfoData)
See Also  Example
Windows






Windows & Linux

Description

Altitude of point clicked (if available).

Property type

Read-only property

Syntax

[Visual Basic .NET]
Public Property Alt() As Double

[C#]
public double Alt {get;}

[Managed C++]
public: __property double get_Alt();

[Unmanaged C++]
public: HRESULT get_Alt(
double * pRetVal
);

[Java]
public double getAlt();

Remarks

Unit is meters.

Example

[Visual Basic .NET] Copy Code
If pickInfoData.IsLatLonAltValid Then
    MessageBox.Show ("LLA: " & pickInfoData.Lat & " " & pickInfoData.Lon & " " & pickInfoData.Alt)
End If

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface