在网页中怎么绘制带宽度的样条线?
MxDraw网页开发|黄洪辉|2018-05-14 09:57
-
回答:
mxOcx.Cal("Mx_ShowWeight"); var param = mxOcx.NewResbuf(); mxOcx.SendStringToExecuteFun("_DrawSpline", param); var retparam = mxOcx.GetEntitysLastCmd(); if (retparam == null) return; if (retparam.Count == 0) return; var spline = retparam.AtObject(0); if (spline == null) { return; } spline.Lineweight = 40;