This document is archived and information here might be outdated.  Recommended version.


IGlobeDisplayRendering2.GetSunPosition Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeDisplayRendering2 Interface > IGlobeDisplayRendering2.GetSunPosition Method
ArcGIS Developer Help

IGlobeDisplayRendering2.GetSunPosition Method

Gets the sun position in lat, lon.

[Visual Basic .NET]
Public Sub GetSunPosition ( _
    ByRef pLatitude As Double, _
    ByRef pLongitude As Double _
)
[C#]
public void GetSunPosition (
    ref double pLatitude,
    ref double pLongitude
);
[C++]
HRESULT GetSunPosition(
  System.Double* pLatitude,
  System.Double* pLongitude
);
[C++]
Parameters
pLatitude [out]

pLatitude is a parameter of type double* pLongitude [out]
pLongitude is a parameter of type double*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGlobeDisplayRendering2 Interface