A Universal Document Conversion API for Java

atir_tahir profile image Atir Tahir ・1 min read

You might be looking for a solution to add watermark or rotate pages while converting a document. GroupDocs.Conversion for Java API allows you to do so. It supports back and forth conversion of multitude of file formats. In this post we will see conversion to PDF and image formats. You must try open-source example project or if interested in a web application, visit this.
First of all lets see basic conversion code:

And now lets explore PdfSaveOptions, following code elaborates how to add watermark.

And how to add page rotate option.

This is how you do conversion to image format.

Support of rotation.


Editor guide