Setting output orientation.