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


IGlobeDisplayRendering.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 > IGlobeDisplayRendering Interface > IGlobeDisplayRendering.GetSunPosition Method
ArcGIS Developer Help

IGlobeDisplayRendering.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

IGlobeDisplayRendering Interface

.NET Samples

Effects in the GlobeControl