En

Change Page Orientation of a Word Document in Java

Page orientation depends on the content layout of the page. As a developer, we can programmatically change the orientation of each page to the one it suits. In this article, we will learn to change the orientation of a page in a Word document in Java. Separately, we will see how to change the landscape orientation to portrait and then how to change the portrait orientation to landscape with the Java applications.
April 4, 2022 · 3 min · Shoaib Khan