techlim1

(.NET) rasterlayer nodata value in axmapcontrol

Discussion created by techlim1 on Apr 15, 2011
Latest reply on Apr 20, 2011 by techlim1
Hi!

I'm looking for a code in .net that take a rasterlayer (.tiff) and display it in my mapcontrol with transparency where is no data value. I know i can add it to my mapcontrol with this code

Dim pRasterly1 As IRasterLayer
        pRasterly1 = New RasterLayer

        pRasterly1.CreateFromFilePath()

But how can i change the black background of raster (no data value) to transparency?

Thanks

Outcomes