【C# MSCE】 提取ComplexStringElement的ClosestPointBounded对应的点问题

老师好,ComplexStringElement提取如下,获取的只能是一段元素的,

CurvePrimitive cp = CurvePathQuery.ElementToCurveVector(Elem).GetPrimitive(0);//Elem 是ComplexStringElement

cp.ClosestPointBounded(ev.Point, out fraction, out Point);//Point是线上点

我怎么才能获得鼠标点在ComplexStringElement线上点?也尝试了CurveVector的获取方式