Correlation of Structure and Properties in Thin-Film Magnetic Media