How to tell if the image is elevation or image?

Satellite imagery is tif format data, elevation data is also a tif format,how to know which mode to load?

What happens when you use AxMap.AddLayerFromFilename().
Does it load/show as expected?
If not you can try the other strategies.

Thank you! I have some satellite image data and elevation data, both of which are in tif format. Elevation data is only for obtaining dem, so it should be put at the bottom, and satellite image should be put at the top.

If you first add the DEM and add the satellite image as second you should get the correct order.
But if your satellite image is a true image you probably won’t see the DEM underneath.

Yes, I just want to show the satellite image, the elevation data is used to calculate the visibility, I don’t know how to tell the tif data is elevation or image when loading?