标签:选择 fir nbsp cti new draw raw lsp message
js中代码实现说明:
function changetext() { 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 = sTxt; } } |
标签:选择 fir nbsp cti new draw raw lsp message
原文地址:https://www.cnblogs.com/yzy0224/p/11137968.html