GroupDocs.Watermark for Node.js via Java

Effortlessly Update POWERPOINT Document Watermarks

Experience hassle-free watermark removal with GroupDocs.Watermark for Node.js via Java. Safeguard your business papers with diverse watermarks. Customize watermark dimensions, alignment, angle of rotation, and placement, and more.

Update Watermarks in POWERPOINT via Node.js via Java

GroupDocs.Watermark for Node.js via Java equips Node.js via Java developers with a robust API for programmatically updating watermarks within various POWERPOINT documents. This guide outlines the process:

  1. Start the process by supplying your POWERPOINT file as an argument to the Watermarker class constructor. Depending no your demands the file can be provided as either a stream or a reference to a local disk location.
  2. Subsequently, leverage the SearchCriteria object to identify the specific watermarks requiring modification. This object enables the pinpointing of watermarks based on the desired properties.
  3. Upon successful execution of the search, you’ll receive a collection of relevant watermarks. These watermarks offer granular control, allowing you to update properties such as dimensions, page positioning, text content, color scheme, image data, and more.
  4. Following the completion of watermark updates, persist the modified document. The API facilitates storage using either a local file path or a stream object.

// Update POWERPOINT text watermark

// Provide Watermarker instance for POWERPOINT file
const watermarker = new groupdocs.watermark.Watermarker("input.pptx");

// Use TextSearchCriteria to find text watermarks
const searchCriteria = 
    new groupdocs.watermark.TextSearchCriteria("test", false);
const watermarks = watermarker.search(searchCriteria);

// Update text watermark
for (const watermark of watermarks.getInnerList().toArray())
{
    watermark.setText("passed");
}

// Enjoy the result
watermarker.save("output.pptx");
npm i @groupdocs/groupdocs.watermark
click to copy
copied
More examples Documentation

Mastering Watermark Editing in PDFs with GroupDocs.Watermark

Explore comprehensive API features for adjusting and managing watermarks in PDFs within Node.js via Java applications.

Edit 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.

Java Example: Edit PDF Watermark

This Java example demonstrates how to edit an existing watermark in a PDF document, showcasing how to adjust its properties programmatically.

TypeScript


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

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

    //  Search for specific watermarks that meet your criteria
    const searchCriteria = new groupdocsWatermark.TextSearchCriteria("test", 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.getFormattedTextFragments().clear();
        watermark.getFormattedTextFragments().add("passed", 
            new groupdocsWatermark.Font("Calibri", 19, groupdocsWatermark.FontStyle.Bold), 
            groupdocsWatermark.Color.getRed(), groupdocsWatermark.Color.getAqua());
    }

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

GroupDocs.Watermark for Node.js via Java API

GroupDocs.Watermark for Node.js via Java provides a user-friendly solution for managing POWERPOINT watermarks using Node.js via Java. With this tool, developers can efficiently update watermarks in various documents and file formats, including PDF, Microsoft Word, Excel, PowerPoint, Visio, and email formats. GroupDocs.Watermark supports all major operating systems and Node.js via Java versions.
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 Watermarks in Other File Formats

Efficiently update watermarks in PDF, Word, Excel, etc. using GroupDocs.Watermark for Node.js via Java. We support all popular business formats.

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