Add watermark to the converted document in C# or Java

Share on FacebookTweet about this on TwitterShare on LinkedIn

Document conversion is one of the most frequent process that endures across a lot of industries. Sometimes, its the business need to put a watermark on the resultant document. For example, you want to convert a PPTX to PDF with a watermark (text or image) in all the PDF pages.

GroupDocs.Conversion for .NET gives you such a option. It possesses a class WatermarkOptions with rich properties such as:

  • Text/Font
  • Color
  • Width
  • Height
  • Background
  • Transparency
  • Rotation angle

Lets have a look at its implementation in C#:
https://gist.github.com/329a1a434791a202bd325f5440dad206

Document conversion in Java:
https://gist.github.com/ed031f8a9feec37aaddf5da82085555f

Below is the screenshot, you can see conversion of a PPTX to PDF along with watermark text.

Download API here. If there’s any issue, you can post on forum.

The post Add watermark to the converted document in C# or Java appeared first on Document Manipulation APIs Blog – groupdocs.com.