Adjust the background image based on page orientation
Adjust the background image based on page orientation. A document can have pages with portrait and landscape orientation. The background image that is added must adjust itself based on the orientation of the page. Presently, the background image is added as an image. Therefore, for pages in landscape orientation, the background is not properly added.