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.4K All Categories
- 5.4K Features Discussion
- 314 Downloading Imagery
- 1.3K Elevation Data
- 377 Georeferencing Imagery Discussion
- 603 GM Script Language
- 49 User Scripts
- 112 GPS Features
- 394 Projection Questions
- 800 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 161 Announcement and News
- 890 Bug Report
- 556 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 537 Other Discussion
- 128 GIS Data Sources
- 26 Global Mapper Showcase
- 224 How I use Global Mapper
- 104 Global Mapper Forum Website