ArcGIS Runtime SDK for WPF 初始化

it2022-06-30  80

安装包

管理nuget包

Esri.ArcGISRuntime.WPF

也许还需要

Esri.ArcGISRuntime.Hydrography Esri.ArcGISRuntime.LocalServices ...

初始化arcgis

/// <summary> /// App.xaml 的交互逻辑 /// </summary> public partial class App : Application { private void Application_Startup(object sender, StartupEventArgs e) { try { Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize(); } catch (Exception ex) { // Show the message and shut down MessageBox.Show(string.Format("There was an error that prevented initializing the runtime. {0}", ex.Message)); Current.Shutdown(); } } }

即可正常使用ArcGIS Runtime SDK了

转载于:https://www.cnblogs.com/Lulus/p/10352563.html

相关资源:各显卡算力对照表!

最新回复(0)