How to achiewved the result as is shown in the pic

This is achieved by other software by adjusting the distance between layers to display different tissue images on multi-planar reconstruction. Can slicer achieve this?

Looks like a MIP of a slab. You can try this code:

If you want to see maximum intensity projection in the 3D view then you can use Volume rendering module. You can enable projection in Advanced → Techniques → Technique → Maximum intensity projection. You can use the crop function to limit the projection to a thick slab instead of the entire volume.