在WPF中使用ArcGIS Engine
在WPF中使用ArcGIS Engine
此函数开始要加:
ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
否则会报错:
ArcGIS product not specified. You must first bind to an ArcGIS version prior to using any ArcGIS components.
另外,引用中的ESRI相关dll要把嵌入互操作类型改成FALSE。