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.8K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 417 Projection Questions
- 829 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 179 Announcement and News
- 922 Bug Report
- 559 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 573 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 241 How I use Global Mapper
- 108 Global Mapper Forum Website