<?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 Setting the Map or Layer DPI? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/setting-the-map-or-layer-dpi/m-p/635440#M16343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a PDF export feature that uses the SilverPDF library.&amp;nbsp;&amp;nbsp; I want to improve the output quality on the pipes displayed in the PDF (which is ultimately printed out).&amp;nbsp;&amp;nbsp; This is a dynamic layer.&amp;nbsp;&amp;nbsp; I believe in order to do this we would need to set the DPI on the map or the layer itself rather than the PDF page or document.&amp;nbsp;&amp;nbsp;&amp;nbsp; Where do I set the DPI on the map or layer (I can't find the property)?&amp;nbsp;&amp;nbsp;&amp;nbsp; Am I correct in that the fix would be needed on the map's or layer's DPI rather than the PDF (if its the PDF where is this setting)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2011 18:41:36 GMT</pubDate>
    <dc:creator>GregoryDillon</dc:creator>
    <dc:date>2011-11-14T18:41:36Z</dc:date>
    <item>
      <title>Setting the Map or Layer DPI?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/setting-the-map-or-layer-dpi/m-p/635440#M16343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a PDF export feature that uses the SilverPDF library.&amp;nbsp;&amp;nbsp; I want to improve the output quality on the pipes displayed in the PDF (which is ultimately printed out).&amp;nbsp;&amp;nbsp; This is a dynamic layer.&amp;nbsp;&amp;nbsp; I believe in order to do this we would need to set the DPI on the map or the layer itself rather than the PDF page or document.&amp;nbsp;&amp;nbsp;&amp;nbsp; Where do I set the DPI on the map or layer (I can't find the property)?&amp;nbsp;&amp;nbsp;&amp;nbsp; Am I correct in that the fix would be needed on the map's or layer's DPI rather than the PDF (if its the PDF where is this setting)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 18:41:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/setting-the-map-or-layer-dpi/m-p/635440#M16343</guid>
      <dc:creator>GregoryDillon</dc:creator>
      <dc:date>2011-11-14T18:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Map or Layer DPI?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/setting-the-map-or-layer-dpi/m-p/635441#M16344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no DPI property for the map or for the layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A dynamic layer requests always an image having the size of the map on the screen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We can try to include your map in a smaller viewbox. In this case, the images will still have the size of the map, but this will have a better definition&amp;nbsp; in the viewbox.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Though, note that you will quickly run into an ArcGIS server limitation: the size of a dynamic layer image is limited to 2048*2048.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 05:50:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/setting-the-map-or-layer-dpi/m-p/635441#M16344</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-11-15T05:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Map or Layer DPI?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/setting-the-map-or-layer-dpi/m-p/635442#M16345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What did you mean by "We can try to include your map in a smaller viewbox"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I actually don't use the screen map when I print, but rather create a new print version of the map with the same size as the page (the user pick the page size from a dropdown).&amp;nbsp; I then rebuild the print map by adding print versions of ArcGISDynamicMapServiceLayer (pointing to print version of web services) that are equivalent to the layer currently visible on the screen map.&amp;nbsp;&amp;nbsp;&amp;nbsp; I was hoping to set the DPI on the print version of the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this might be what you are suggesting or hints at it.&amp;nbsp;&amp;nbsp; Or are you suggesting something else?&amp;nbsp;&amp;nbsp; Sorry I got a little confused by you last response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 15:27:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/setting-the-map-or-layer-dpi/m-p/635442#M16345</guid>
      <dc:creator>GregoryDillon</dc:creator>
      <dc:date>2011-11-15T15:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Map or Layer DPI?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/setting-the-map-or-layer-dpi/m-p/635443#M16346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry I was unclear (and furthermore I am not sure it's a good idea so... :().&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I meant is that you might create a Viewbox with the same size of the page and include in this viewbox a map having twice (for example) the size of the page. This will change the scale of the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Easier to understand with a sample. The left part is the map without viewbox and the right part is the map inside a viewbox.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
&amp;lt;Grid x:Name="LayoutRoot" &amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Grid.ColumnDefinitions&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ColumnDefinition Width="*" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ColumnDefinition Width="*" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Grid.ColumnDefinitions&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map x:Name="MyMap"&amp;nbsp; WrapAround="True" Grid.Column="0" Height="400" Width="400"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="&lt;A href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializationFailed="Layer_InitializationFailed" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer ID="DynamicLayer" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/RecentEarthquakesRendered/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/RecentEarthquakesRendered/MapServer&lt;/A&gt;"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializationFailed="Layer_InitializationFailed" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Map&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Viewbox Grid.Column="1" Height="400" Width="400"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map x:Name="MyMap2"&amp;nbsp; WrapAround="True" Height="800" Width="800"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="&lt;A href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializationFailed="Layer_InitializationFailed" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer ID="DynamicLayer" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/RecentEarthquakesRendered/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/RecentEarthquakesRendered/MapServer&lt;/A&gt;"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializationFailed="Layer_InitializationFailed" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Map&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Viewbox&amp;gt;
&amp;lt;/Grid&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:01:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/setting-the-map-or-layer-dpi/m-p/635443#M16346</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-12T03:01:40Z</dc:date>
    </item>
  </channel>
</rss>

