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


IDynamicSymbolProperties.Heading Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicSymbolProperties Interface > IDynamicSymbolProperties.Heading Property
ArcGIS Developer Help

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,
  System.Single* 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 single* dynamicSymbolType [in]
dynamicSymbolType is a parameter of type esriDynamicSymbolType Heading [in]
Heading is a parameter of type single

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 Samples

Dynamic biking