<?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 Set 'Stretch' of 'None' on dynamic map layers in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/set-stretch-of-none-on-dynamic-map-layers/m-p/292191#M3421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have written a C# app which adds several dynamic map layers (rasters) to a LocalMapService via SetDynamicWorkspaces(). The dynamic map layers come directly from a GDB on disk. I can access these dynamic layers from the Local Server via the REST interface, but I can see the fetched images have a 'Stretch' function automatically applied to them ('Percent Clip'). I want the bitmap to be returned without modification.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I see from the forum that others have run into similar problems, but I was wondering if there was a programatic solution rather than modifying the GDB itself:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;https://community.esri.com/thread/111347&lt;BR /&gt;https://community.esri.com/thread/72903&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Can I set a 'Stretch' of 'None' to the dynamic raster layers via code?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2019 08:56:36 GMT</pubDate>
    <dc:creator>JonathanBelson</dc:creator>
    <dc:date>2019-05-17T08:56:36Z</dc:date>
    <item>
      <title>Set 'Stretch' of 'None' on dynamic map layers</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-stretch-of-none-on-dynamic-map-layers/m-p/292191#M3421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have written a C# app which adds several dynamic map layers (rasters) to a LocalMapService via SetDynamicWorkspaces(). The dynamic map layers come directly from a GDB on disk. I can access these dynamic layers from the Local Server via the REST interface, but I can see the fetched images have a 'Stretch' function automatically applied to them ('Percent Clip'). I want the bitmap to be returned without modification.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I see from the forum that others have run into similar problems, but I was wondering if there was a programatic solution rather than modifying the GDB itself:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;https://community.esri.com/thread/111347&lt;BR /&gt;https://community.esri.com/thread/72903&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Can I set a 'Stretch' of 'None' to the dynamic raster layers via code?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 08:56:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-stretch-of-none-on-dynamic-map-layers/m-p/292191#M3421</guid>
      <dc:creator>JonathanBelson</dc:creator>
      <dc:date>2019-05-17T08:56:36Z</dc:date>
    </item>
  </channel>
</rss>

