Global Mapper SDK WPF support
Answers
-
Hello,
There's no reason you can't use WPF. You just need to get a handle to the device context for the window to pass to the drawing functions of the GM SDK.
See http://stackoverflow.com/questions/8656827/can-i-get-hdc-from-wpf-window-so-that-i-can-draw-to-it-with-gdi-api.
I hope that answers your question.
-Aaron -
Yes. The GM SDK does not directly support WPF. However, there are neat tricks of using WPF with GlobalMapper and I have done it quite successfully in the past. You can use create a user control in WinForms and host it inside WPF using ElementHost.
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website