Apache POI Page SizeWe can get and set page size of the powerpoint page. To get the page size getPageSize() method is used whereas to set the size setPageSize() method is used. The retrieved page size returns coordinates that are expressed in points. Lets see an example. Apache POI Page Size ExampleOutput: width: 720 height: 540 Lets see an example, to set page size. Apache POI Setting Page Size ExampleOutput: width: 720 height: 540 Slide size after setting new size. width: 1024 height: 768
Next TopicApache POI Powerpoint Hyperlink
|