Probing Atomic-Scale Properties Of Magnetic And Optoelectronic Nanostructures