怎么在网页中读取实体的中文名称?
MxDraw网页开发|黄洪辉|2018-05-04 15:49
-
回答:
var ent = mxOcx.GetEntity("选择实体"); if (ent == null) return; var ret = ent.GetProp("getName"); alert(ret.AtString(0));
var ent = mxOcx.GetEntity("选择实体"); if (ent == null) return; var ret = ent.GetProp("getName"); alert(ret.AtString(0));