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


IDynamicSymbolProperties.Heading Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IDynamicSymbolProperties.Heading Property

Indicates the heading for the specified dynamic symbol, relative to the rotation alignment.

[Visual Basic .NET]
Public Function get_Heading ( _
    ByVal dynamicSymbolType As esriDynamicSymbolType _
) As Single
[Visual Basic .NET]
Public Sub set_Heading ( _
    ByVal dynamicSymbolType As esriDynamicSymbolType, _
    ByVal Heading As Single _
)
[C#]
public float get_Heading (
    esriDynamicSymbolType dynamicSymbolType
);
[C#]
public void set_Heading (
    esriDynamicSymbolType dynamicSymbolType,
    float Heading
);
[C++]
HRESULT get_Heading(
  esriDynamicSymbolType dynamicSymbolType,
  float* Heading
);
[C++]
HRESULT put_Heading(
  esriDynamicSymbolType dynamicSymbolType,
  float Heading
);
[C++]

Parameters dynamicSymbolType [in]
dynamicSymbolType is a parameter of type esriDynamicSymbolType Heading [out, retval] Heading is a parameter of type float dynamicSymbolType [in]
dynamicSymbolType is a parameter of type esriDynamicSymbolType Heading [in] Heading is a parameter of type float

Product Availability

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

Remarks

The Heading value units are in degrees (0-360), and the heading behaves like a geographic angle, meaning zero value is up (like the north direction) and the heading is increased in a clockwise direction (for example - heading of 90 degrees points to the right).

The Symbol’s Heading direction is calculated to be relative to the Map’s North direction or to the Screen-up direction, according to the value of the RotationAlignment property.

Heading property is not relevant for Line Symbols.

See Also

IDynamicSymbolProperties Interface

.NET Snippets

Draw Compound Marker on Dynamic Display

.NET Samples

Dynamic biking (Code Files: DynamicBikingCmd) | Dynamic display�tracking dynamic object (Code Files: TrackObject)