AnsweredAssumed Answered

Set 'Stretch' of 'None' on dynamic map layers

Question asked by jonbelson on May 17, 2019
Hi
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.
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:
Can I set a 'Stretch' of 'None' to the dynamic raster layers via code?
Thanks.

Outcomes