I am trying to list out all the horizontal lines I have on the chart using the following code
foreach (DrawingTool draw in DrawObjects.ToList())
{
if (draw is DrawingTools.HorizontalLine)
{
Do something here...
}
}
In the example here, the same thing is done just with DrawingTools.Line and it works (also when I tried it)
Thanks for the help!

Comment