CAD得到文字内容(网页版)
编程语言
2019-07-05 09:21:03
阅读次数: 0
js中代码实现说明:
var selEnt = mxOcx.NewComObject( "IMxDrawUiPrEntity" );
selEnt.message = "选择文字" ; if (selEnt.go() != 1) return ; var image = selEnt.Entity(); if (image == null ) return ; if (image.ObjectName == "McDbText" ) { var sTxt =image.TextString ; alert(sTxt); } |
转载自blog.csdn.net/u013725001/article/details/94716115