Posts

Showing posts with the label Watermark

Java: Add Watermark to PDF

Image
In daily work and study, the popularization of PDF has brought great convenience for people, but at the same time, a lot of problems have occurred. It is easy to copy and spread the PDF documents, which makes the copyrights difficult to protect. It is also hard to distinguish information in the mass of files, for example, have you ever opened a folder with so many PDF documents used the same name? Even you cannot tell which one is the final modified version. Using watermarks can solve these problems for you now.   This article will be divided two parts to demonstrate how to  add watermark to PDF  in Java applications.    Add Text Watermark Add Image Watermark Programming Environment  First of all, you're required to add the Free Spire.PDF.jar file as a dependency in your Java program. The JAR file can be downloaded from  this link . If you use Maven, you can easily import the JAR file in your application by adding the following code to your project's p...

Remove Watermark from Word in C#/VB.NET

Image
In Word, watermarks, such as text watermarks or image watermarks, can effectively indicate ownership and usage standards. The purpose of this article is to provide a method of how to delete watermarks from Word documents containing watermark effects. Documents with text watermarks or images watermarks can both be deleted. The following is the detailed method and steps.   Programming Environment In this test, Free Spire.Doc for .NET is introduced into the program. The Spire.Doc.dll file can be referenced by:   Method 1: Download Free Spire.Doc for .NET locally, unzip it, and install it. After the installation is complete, find Spire.Doc.dll in the BIN folder under the installation path. Then open the "Solution Explorer" in Visual Studio, right-click "References", "Add Reference", and add a reference to the dll file in the BIN folder of the local path to the program.   Method 2: Install via NuGet . It can be installed by the following 2 met...

Add Text/Image Watermarks to PDF in C#/VB.NET

Image
  When you share PDF files on the Internet, it`s important to convince the person on the other side of the screen that the published information is correct. After all, any file can be intercepted by attackers and make adjustments. A watermark PDF with your logo or a certain text will allow you to identify the authenticity of the file and prove its security for everyone to whom it will be sent. We will take a detailed look at the methods for applying watermark PDF in this article. This article will be divided into three parts that will outline how you can add text/image watermarks to PDF using C#/VB.NET code. To achieve this functionality, you just need to follow a few simple steps. Read on for more information. Programming Environment   In this test, Free Spire.PDF for .NET is introduced into the program. The Spire.PDF.dll file can be referenced by:   Method 1: Download Free Spire.PDF for .NET locally, unzip it, and install it. After the installation is complete...