<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Silverlight Viewer 1.0.1: exporting map image to WriteableBitmap fails with proxy in ArcGIS Viewer for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/silverlight-viewer-1-0-1-exporting-map-image-to/m-p/385526#M1114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, did you ever get an answer to this question?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2013 21:36:14 GMT</pubDate>
    <dc:creator>SergioGalindo</dc:creator>
    <dc:date>2013-08-09T21:36:14Z</dc:date>
    <item>
      <title>Silverlight Viewer 1.0.1: exporting map image to WriteableBitmap fails with proxy</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/silverlight-viewer-1-0-1-exporting-map-image-to/m-p/385525#M1113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have built an addin for Silverlight Viewer (version 1.0.1, Silverlight API client version 2.4, ArcGIS Server 10.0). One of the tools is an export map function, I simply want to export a JPG image of the map control. The map contains a single layer, the tiled Topographic Map service hosted on ArcGIS Online.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When accessing the WriteableBitmap I am getting a security exception (???WriteableBitmap has protected content. Pixel access is not allowed???). This is expected as ArcGIS Online is on a different domain. To get around this, I created a proxy and assigned the proxy URL to the Topographic Map layer inside the Builder application. Still getting the error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I create a simple Silverlight application with a map control and the Topographic map layer, the security exception is no longer raised if I specify the ProxyURL property for the layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the proxy expected to work in this situation? I know I can create a preview map control in my addin window, copy the map layers and graphics from main map and then export the preview map, but I would like to avoid doing this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 13:54:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/silverlight-viewer-1-0-1-exporting-map-image-to/m-p/385525#M1113</guid>
      <dc:creator>AlexZlotin</dc:creator>
      <dc:date>2013-05-13T13:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight Viewer 1.0.1: exporting map image to WriteableBitmap fails with proxy</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/silverlight-viewer-1-0-1-exporting-map-image-to/m-p/385526#M1114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, did you ever get an answer to this question?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 21:36:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/silverlight-viewer-1-0-1-exporting-map-image-to/m-p/385526#M1114</guid>
      <dc:creator>SergioGalindo</dc:creator>
      <dc:date>2013-08-09T21:36:14Z</dc:date>
    </item>
  </channel>
</rss>

