Take a screenshot of the map.
GIS users may want to export a screenshot of a map to enable sharing as an image or printing.
Pan and zoom to find an interesting location, then use the button to take a screenshot. The screenshot will be displayed. Note that there may be a small delay if the map is still rendering when you push the button.
- Wait for the MapView to finish rendering the Map.
- Call
mapView.ExportImageAsync()
to get theRuntimeImage
. - Use the
RuntimeImage.ToImageSourceAsync
extension method to get a copy of the image that is compatible with native image display controls.
- GeoView.ExportImageAsync
- RuntimeImage
- RuntimeImage.ToImageSourceAsync
- GeoView.DrawStatus
- GeoView.DrawStatusChanged
Screenshot, print, share, image, export, capture, screen capture, shot