addin中如何获得editor对象

想要判断是否开启编辑状态
已邀请:

朱新颖

赞同来自:

参考下面代码:

UID uID = new UIDClass(); uID.Value = "esriEditor.Editor"; m_Editor = ArcMap.Application.FindExtensionByCLSID(uID)as IEditor3;
 

要回复问题请先登录注册