Adobe Acrobat Pro Add Watermark

Mar 09, 2013  With Adobe Acrobat Pro, it’s so easy to add such a watermark either to the whole document or only the selected pages of it. You can actually add different watermark to the different pages of the same document. First of all, launch Adobe Acrobat Pro application on the system. After that, click on Tools Edit PDF Watermark Add. If you need to enter watermark on selective pages, then choose Page Range Options. Thereafter, enter the page range and go to the Subset option, as per your requirement.

  1. Adobe Acrobat Pro Add Watermark Video
  2. Adobe Acrobat Pro Add Watermark Software

This article is for developers seeking help on how to add a watermark programmatically within a PDF. A watermark is a recognizable image or pattern, a common way to identify work and discourage its unauthorized use. A visible watermark can’t prevent unauthorized use. But it makes it more difficult for people who want to claim someone else’s photo or artwork as their own.

In PDF, a watermark is text or an image that appears either in front of or behind existing document content, like a stamp. For example, you could apply a “Confidential” watermark to pages with sensitive information. You can add multiple watermarks to one or more PDFs, but it's necessary to add each watermark separately. You can specify the page or range of pages on which each watermark appears.

You can add watermark to a PDF through the user interface, or by using C++ code or JavaScript APIs.

  1. Specify the watermark:

    • To reuse a watermark and watermark options that you saved in an earlier session, select it from the Saved Settings menu.
    • To create a text watermark, select Text, and type the text in the box. Adjust the text formatting options as needed.
    • To use an image as a watermark, select File. Then click Browse and select the image file. If the file has multiple pages with images, specify the Page Number you want.

    Note:

    To update or remove watermark choose Document > Watermark > Update, or Document > Watermark > Remove.

There are two APIs that the Acrobat SDK offers for adding a watermark using C++

  1. void PDDocAddWatermarkFromText (). This API adds a text-based watermark to a page range in the given document. The syntax of this API is as below:

    void PDDocAddWatermarkFromText (

    PDDoc pdDoc,
    PDDocWatermarkTextParamsRec* pTextParams,
    PDDocAddWatermarkParamsRec* pParams
    );

    The details of parameter are below:

    • PdDoc is the document onto which watermark will be added.
    • TextParams is the structure describing the text-based watermark to be added.
    • pParams is the structure specifying how the watermark should be added to the document.
  2. void PDDocAddWatermarkFromPDPage (). This API adds a PDPage as a watermark to a page range in the given document. The syntax of this API is as below:

    void PDDocAddWatermarkFromPDPage (
    PDDoc pdDoc,
    PDPage pdPage,
    PDDocAddWatermarkParamsRec* pParams
    );

    The detail of parameters is as below:

    • pdDoc is the document onto which watermark will be added.
    • pdPage is the page to be added as a watermark.
    • pParams is the structure specifying how the watermark should be added to the document.Step text

To add watermark through JavaScript, Acrobat exposes two APIs as below:

  1. addWatermarkFromText(). This API adds the given text as a watermark to the specified pages in the document. For example, code below adds “Confidential” as a watermark to the center of all pages of the current document: this.addWatermarkFromText(“Confidential”, 0, font.Helv, 24, color.red);
  2. addWatermarkFromFile(): This API adds a page as a watermark to the specified pages in the document. For example, code below adds first page of watermark.pdf as a watermark to the center of all pages of the current document: this.addWatermarkFromFile(“/C/temp/watermark.pdf”);

Adobe Acrobat Pro Add Watermark Video

For detailed explanation of all parameters, check out the API References available within the documentation folder of the Acrobat SDK.

Adding

Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Adobe Acrobat Pro Add Watermark Software

Legal Notices | Online Privacy Policy