Hi
I am trying to programmatically construct a simple line symbol using ArcGIS pro sdk for .net. It should show the features with an arrow at the end node of each feature (and only at the end node). I am not sure if need to use line symbol with marker symbols (it seems a bit complicated for a relative simple symbol).
I the old ArcMap application I am migrating i had this code for the symbol
private static CartographicLineSymbolClass CreateArrowSymbol(Color c)
{
var color = new RgbColorClass() { Red = c.R, Green = c.G, Blue = c.B };
var de = new SimpleLineDecorationElementClass();
de.AddPosition(1);
de.MarkerSymbol = new ArrowMarkerSymbolClass() { Color = color, Size = 8.0, Length = 6.0 };
var ld = new LineDecorationClass();
ld.AddElement(de);
var symbol = new CartographicLineSymbolClass()
{
Color = color,
Width = 1.5,
LineDecoration = ld
};
return symbol;
}