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






Windows & Linux

Description

Longitude of point clicked (if available).

Property type

Read-only property

Syntax

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

[C#]
public double Lon {get;}

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

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

[Java]
public double getLon();

Remarks

Unit is degrees.

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