Hi All,I am trying to use a graphictracker to display a cartographiclinesymbol. When I add the symbol i only get the end cap and not the actual line itself. Below is a small excerpt of my code.
public drawItem(IPoint fromPoint, IPoint toPoint)
{
IPointCollection line = new PolylineClass();
line.AddPoint(fromPoint, Type.Missing, Type.Missing);
line.AddPoint(toPoint, Type.Missing, Type.Missing);
//EventRender returns the explicit conversion of a cartographiclinesymbol to ISymbol
ISymbol sym = EventRenderer.Instance.GetAccessPointLineSymbol();
IGraphicTrackerSymbol arrow = arrow_Tracker.CreateSymbol(sym,null);
arrow_Tracker.Add(line as IGeometry, arrow);
}
Using the ISymbol to write to the ScreenDisplay does work in displaying the correct image but for other issues at work we need to not draw that item on the ScreenDisplay.Any Ideas??