Change Page Orientation using GroupDocs.Merger for Java 18.12

GroupDocs Editor for Java

We are pleased to announce GroupDocs.Merger for Java 18.12 with many new features. This latest release provides the ability to change page orientation along with feature to rotate pages in the document. Furthermore, you can also get list of all the formats supported by the API. Please check GroupDocs.Merger for Java 18.12 release notes for further reference.

Features

Change Page Orientation

New method changeOrientation let you change page orientation(portrait, landscape) for pages in the document.

DocumentResult result = new DocumentHandler().changeOrientation(documentExample, OrientationMode.Landscape, new int[]{1,6});

Get Supported Formats

Method getSupportedFormats() is added to get all formats supported by the API.

Map documentFormatsContainer = new DocumentHandler().getSupportedFormats();

Rotate Pages

rotatePages method allows you to rotate pages in document.

DocumentResult result = new DocumentHandler().rotatePages(documentExample, RotateMode.Rotate270);

Supports Diagram and Note Formats

Diagram and Note formats are supported by following methods:

  • Join
  • MovePage
  • RemovePage
  • Split document
  • SwapPages
  • Trim

Available Channels and Resources

Here are a few channels and resources for you to download, learn, try and get technical support on GroupDocs.Merger:

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

To keep up with our news, you can follow us on Twitter or follow our Facebook page.