# Grid change color scheme not working

**URL:** <https://mapwindow.discourse.group/t/grid-change-color-scheme-not-working/1858>\
**Category:** MapWinGIS\
**Created:** [June 15, 2025, 6:37pm UTC](https://mapwindow.discourse.group/t/grid-change-color-scheme-not-working/1858 "2025-06-15T18:37:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![josimar.alves](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@josimar.alves](https://mapwindow.discourse.group/u/josimar.alves)\
**Post date:** [June 15, 2025, 6:37pm UTC](https://mapwindow.discourse.group/t/grid-change-color-scheme-not-working/1858/1 "2025-06-15T18:37:23Z")

</div>

Hello,  
I have a DEM with TIFF format and a color scheme. I’m trying to change the color scheme to other color scheme but after it`s not work. I note that property ImageColorScheme of Image is not changed after I set the new value.  
Here is my code in pascal, where IMG is created from a DEM file:  
…

```
  img.TransparencyColor := 0;
  IMG.ImageColorScheme := FallLeaves; <--- this line not work is read only?
  img.UseTransparencyColor := true;
  Map.Redraw;

```

…

I observed the IMG.ImageColorScheme := FallLeaves not change. Does someone could help me please or give a idea how do it in C?

Thanks

---

<div class="post-metadata">

**Author:** ![josimar.alves](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@josimar.alves](https://mapwindow.discourse.group/u/josimar.alves)\
**Post date:** [June 24, 2025, 2:59pm UTC](https://mapwindow.discourse.group/t/grid-change-color-scheme-not-working/1858/2 "2025-06-24T14:59:19Z")

</div>

Hi,

I still have this problem. Please, I need to solve this.  
There’s a way to change the colorscheme and update the map without have to remove the layer?  
Regards,
