ESRI.ArcGIS.ADF.IMS
Angle Property
See Also 
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace > TrueTypeMarkerSymbol Class : Angle Property




Gets or sets the angle of rotation in degrees moving counterclockwise; 0 degrees is horizontal.

Syntax

Visual Basic (Declaration) 
Public Property Angle As Double
Visual Basic (Usage)Copy Code
Dim instance As TrueTypeMarkerSymbol
Dim value As Double
 
instance.Angle = value
 
value = instance.Angle
C# 
public double Angle {get; set;}

Example

See the overview of this class for an example of using this property.

Remarks

Use Angle to rotate every symbol in the same way for each feature to which the TrueTypeMarkerSymbol is applied. If you want to rotate symbols differently for individual features, use the AngleField property if the data layer contains a field with rotation values for each feature. Another approach would be to use a ValueMapRenderer to define multiple rendering values, assigning a TrueTypeMarkerSymbol to each value.

The Angle property takes precedence over the AngleField setting.

Known limit: When rotating a TrueTypeMarkerSymbol in an image service, the marker may not be centered directly on top of the point it represents. The displacement varies depending on the font and character used. Not all characters are affected even within the same font. This issue is not a problem with ArcMap image services.

See Also

© 2010 All Rights Reserved.