Abstract
In this paper we investigate the influence of a surface anisotropy and the dipole interaction on the magnetization of thin films. The surface anisotropy favors a perpendicular orientation while the dipole interaction favors an in-plane magnetization. It is shown that these competing interactions for certain values of the parameters may result in a temperature-driven switching transition from an out-of-plane to an in-plane ordered state.