In the DgnElementSetTool class of my C# program, I use Bentley.DgnPlatformNET.Elements.Element GetHeadElement() to locate an element.
I tried to cast a Bentley.DgnPlatformNET.Elements.Element of type Line or LineString to a MicroStationDGN.Element and…