I'm looking for the best way to upgrade a mix of image and shape layers from v2 to v4.
Layer 0 is usually a cadastral layer. Layers 1 to 10 are roads and pipes. I have ecw images that are optionally displayed. In v2 i used the following code:
Map1.Layers(0).ImageLayers.Add(imgLayer)
This displayed the images between the cadastral and the roads/pipes.
On to V4 and I'm still trying to learn the changes to the layer types (is there a faq or tutorial? eg when to use InMemoryLayer etc)
I have my shape files in a LayerOverlay. I have my images in another LayerOverlay.
If I position the image layer overlay first, they get hidden by the cadastral. If I position the image layer last it hdes the other layers. I can make the images transparent but then I lose some of the sharpness.
I think you can set your shape files to different LayerOverlays and let overlay which include image layer in the middle. For example, the first overlay includes cadastral layer, and the second overlay includes ecw image layer, and the third overlay includes roads and pipes layer. So that you can turn off and on second overlay to optionally display image.