标签:selection spl res ted select2 word date ble number
js中代码实现说明:
var ss = mxOcx.NewSelectionSet(); // 创建过滤对象. var spFilte = mxOcx.NewResbuf(); // 把文字对象,当着过滤条件. spFilte.AddStringEx( "TEXT,MTEXT" , 5020); // 得到图上,所有文字对象. ss.Select2(5, null , null , null , spFilte); for ( var i = 0; i < ss.Count; i++) { var ent = ss.Item(i); if (ent == null ) continue ; ent.Erase(); } //更新视区显示 mxOcx.UpdateDisplay(); |
标签:selection spl res ted select2 word date ble number
原文地址:https://www.cnblogs.com/yzy0224/p/11137964.html