AnsweredAssumed Answered

polyline - how to display it

Question asked by alex116 on Mar 4, 2012
Latest reply on Mar 21, 2012 by alex116
I've been reading about how to display a Polyline and I'm getting nowhere. As I understand it, using the dynamic display means the drawn items will disappear when the layer is reloaded or redrawn which might happen when zooming, moving, clicking or similar events that cause the mapcontrol to refresh.
I am thinking I should create a layer from the Polyline so that it is persistent when refreshing.
I believe I have enough code to create the Polyline but don't know how to create a layer out of it.
Could you show me how?