Completed
Last Updated: 04 Jan 2017 13:00 by Farkas
ADMIN
Ves
Created on: 15 Feb 2010 10:19
Category: Map
Type: Feature Request
15
Map: Export to screenshot
Export RadMap to screenshot.

WPF: We will add ExportToImage public method for WPF in R1 2017 with option whether to include map objects from Information/VisualizationLayer.

SL: There is a Silverlight limitation in WriteableBitmap:

https://social.msdn.microsoft.com/Forums/en-US/a5d59a36-ec26-4715-a707-dd0463ff0f46/writeablebitmap-has-protected-content-pixel-access-is-not-allowed?forum=bingmapssilverlightwpfcontrols

https://msdn.microsoft.com/en-us/library/system.windows.media.imaging.writeablebitmap%28VS.95%29.aspx?f=255&MSPPError=-2147217396

One partial solution if you use Bing Maps in RadMap is to use the Bing REST Static Map Imagery in order to download Image replicating the current viewport and zoomlevel of the RadMap.

     Bing REST Static Map => https://msdn.microsoft.com/en-us/library/ff701724.aspx 

     Using Bing REST API with .NET => https://msdn.microsoft.com/en-us/library/jj819168.aspx

Available in R1 2017 Official Release Version.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
2 comments
ewart
Posted on: 04 May 2010 18:35
I really really want this however too, however I have investigated and created the for snapshots but have discovered that it is not easily possible due to silverlight limitations re copywright images... you can't sanpshot an image unless it comes from a se
Farkas
Posted on: 14 Jun 2012 04:03
Hi,
is this possible now? (save snapsot about the map)

Thanks,
Laszlo