This project is read-only.

ImageLayer Opacity

May 10, 2015 at 10:02 AM

I'm trying to set layer opacity for the layer with background TIF images?

With the code below I am able to see my image layer but setting opacity like for the raster layer it doesn't seem to be working:
     foreach (IMapLayer layer in map1.GetAllLayers())

         IMapImageLayer lay = layer as IMapImageLayer;
         if (lay != null)

    lay.Symbolizer.Opacity = ........  ????

             MessageBox.Show("lay: "+lay.LegendText);



Any help would be appreciated.

regards, Vojko
Jun 11, 2015 at 3:16 PM
Hi, i am looking for this too...
Dec 17, 2015 at 11:43 AM
Same here!