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


IGlobeDisplayRendering2.SetSunPosition 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.SetSunPosition Method
ArcGIS Developer Help

IGlobeDisplayRendering2.SetSunPosition Method

Sets the sun position in lat, lon.

[Visual Basic .NET]
Public Sub SetSunPosition ( _
    ByVal latitude As Double, _
    ByVal longitude As Double _
)
[C#]
public void SetSunPosition (
    double latitude,
    double longitude
);
[C++]
HRESULT SetSunPosition(
  double latitude,
  double longitude
);
[C++]
Parameters
latitude [in]

latitude is a parameter of type double longitude [in]
longitude is a parameter of type double

Product Availability

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

See Also

IGlobeDisplayRendering2 Interface