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

348
0
05-17-2019 01:56 AM
JonathanBelson
New Contributor
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:
https://community.esri.com/thread/111347
https://community.esri.com/thread/72903
Can I set a 'Stretch' of 'None' to the dynamic raster layers via code?
Thanks.
0 Kudos
0 Replies