public static bool Exists(IGeoProcessor gp, string modalname)
{
IGpEnumList pList = gp.ListTools("");
string name = pList.Next();
while (name != "")
{
if (modalname == name) return true;
name = pList.Next();
}
return false;
}
Arcengine获得模型(工具)是否存在
阅读 151
2022-09-18
public static bool Exists(IGeoProcessor gp, string modalname)
{
IGpEnumList pList = gp.ListTools("");
string name = pList.Next();
while (name != "")
{
if (modalname == name) return true;
name = pList.Next();
}
return false;
}
相关推荐
精彩评论(0)