PDF Watermark
How to add or remove watermark to PDF documents with free cross-platform Apps and APIs
How to add or remove watermark to PDF
You need Aspose.PDF library to try the code in your environment. API which is a feature-rich, powerful and easy to use document manipulation API. Open NuGet package manager, search for Aspose.PDF and install. You may also use the following command from the Package Manager Console.
You can use the following classes and method for work with watermark in PDF:
- Load the PDF with an instance of Document.
- Create an instance of WatermarkArtifact.
- Set properties of WatermarkArtifact object.
- Add watermark using method Add of Aspose.Pdf.Page.Artifacts collection class.
- Save PDF file