GroupDocs.Watermark for Node.js via Java Library

Update Watermarks in PPTX Presentations

Modify watermarks with ease and efficiency using GroupDocs.Watermark for Node.js via Java. Keep your business documents secure using a selection of watermarks. Customize watermark attributes like size, alignment, rotation angle, and position with ease.

Dynamic Watermark Edit for PPTX in Node.js via Java

GroupDocs.Watermark for Node.js via Java offers Node.js via Java developers a powerful API for editing watermarks across diverse PPTX documents. Here’s a comprehensive guide to streamline your workflow:

  1. Start the Process: Begin by providing your PPTX file as an argument to the Watermarker class constructor. Depending on your requirements, the file can be sourced either as a stream or from a local disk location.
  2. Pinpoint Watermarks: Use the SearchCriteria object to identify the watermarks in need of modification. This versatile tool enables targeted watermark selection based on specific properties.
  3. Refine with Precision: Upon successful execution of the search, gain access to a collection of relevant watermarks. Enjoy granular control over each element, with the ability to update dimensions, page positioning, text content, color, image data, and more.
  4. Seamless Persistence: Once watermark updates are complete, securely store the modified document. The API offers flexible storage options, allowing you to save to a local file path or as a stream object.

// Update image PPTX watermark

// Compose Watermarker for PPTX file
const watermarker = new groupdocs.watermark.Watermarker("input.pptx");

// Use SearchCriteria to find a particular image
const searchCriteria = 
    new groupdocs.watermark.ImageDctHashSearchCriteria("logo.png");
const watermarks = watermarker.search(searchCriteria);

// Update image content
for (const watermark of watermarks.getInnerList().toArray())
{
    watermark.setImageData(imageData);
}

// Save updated file
watermarker.save("output.pptx");
npm i @groupdocs/groupdocs.watermark
click to copy
copied
More examples Documentation

Deep dive into adding Watermark

API to render, display, convert documents, slides, diagrams, and many other document types in .NET applications

Add Watermark

Effortlessly Edit Watermarks in PDFs

GroupDocs.Watermark offers robust tools in Node.js via Java to seamlessly edit existing watermarks in PDF documents. Adjust position, transparency, and more with ease.

Refine Watermark Details for Precision

Take control over the details. Our API allows you to fine-tune the appearance of watermarks, enabling precise modifications of size, opacity, and color in your PDFs.

Streamlined Watermark Management

Our API simplifies watermark management. Whether updating or removing, you can manage watermarks efficiently, maintaining document integrity while catering to your branding needs.

Update Presentation watermark content

This example shows how to update text content of Presentation watermarks

TypeScript


    const groupdocsWatermark = require('@groupdocs/groupdocs.watermark')

    //  Load the PDF document for processing
    const watermarker = new groupdocsWatermark.Watermarker("source.pptx");

    //  Search for specific watermarks that meet your criteria
    const searchCriteria = new groupdocsWatermark.TextSearchCriteria("denied", false);
    const watermarks = watermarker.search(searchCriteria);

    //  Edit the watermark's settings, such as size, color, and position
    for (const watermark of watermarks.getInnerList().toArray()) {
        watermark.setText("accepted");
    }

    //  Save the updated document to a local system or stream it directly
    watermarker.save("result.pptx");
    watermarker.close();

GroupDocs.Watermark for Node.js via Java Solutions

GroupDocs.Watermark for Node.js via Java enables seamless modification of watermarks in documents. With this versatile tool, developers can easily modify and update watermarks in various file formats, including PDF, Microsoft Word, Excel, PowerPoint, Visio, email, and image formats. GroupDocs.Watermark for Node.js via Java may be used with all popular operating systems.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Watermark for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Update Supported File Formats Watermarks

Seamlessly modify watermarks in PDF, Word, Excel, and more with GroupDocs.Watermark for Node.js via Java. Empower your documents branding.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English