foreach (DrawingTool draw in DrawObjects.ToList()){
Print("A");
if(b.Equals(draw.GetType())){
Print("B");
This works fine in recognizing that I have drawn a line. I am then able to programmatically change it's tag to a custom value and read it's various values, anchors etc.
However, if the line is drawn prior to enabling the strategy the "B" will not print. I noticed this while debugging another part of my code, when compiling, disabling the strategy and re-enabling it failed to recognize the same line I had drawn prior to the recompile. Is there a way to iterate the draw objects that are on the chart prior to enabling the strategy?
Comment