GroupDocs.Watermark for Node.js via Java API

Node.js via Java API for Managing Excel Watermarks

Utilize the GroupDocs.Watermark for Node.js via Java API to remove or alter watermarks in Excel documents, perfect for ensuring clean data sheets in automated workflows.

Excel Watermarks Deletion using Node.js via Java

GroupDocs.Watermark furnishes Node.js via Java developers with a comprehensive API for the programmatic deletion of specific watermarks embedded within various Excel documents. This guide delves into the technical process:

  1. Initiate the workflow by instantiating the Watermarker class and providing your Excel file as a constructor argument. The file can be supplied as a byte stream, a file stream, or a path reference to a local disk location.
  2. To achieve precise watermark targeting, leverage the capabilities of the SearchCriteria object. This object facilitates the construction of intricate filters based on properties previously embedded within the document. You can utilize an image as a search parameter alongside text or formatting attributes to enable a highly granular selection process.
  3. Following the execution of the search, you’ll receive a collection of identified watermarks. These watermarks may be deleted easily.
  4. Upon successful watermark deletion, persist the modified document. The API provides storage flexibility, allowing you to utilize either a local file path or a stream object for final output.

// Delete text watermark in Excel document

// Instantiate Watermarker with Excel document
const watermarker = new groupdocs.watermark.Watermarker("input.xslx");

// Clear text watermarks suit search conditions
const criteria = new groupdocs.watermark.TextFormattingSearchCriteria();
criteria.setFontBold(true);
const watermarks = watermarker.search(criteria);
watermarks.clear();

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

Node.js via Java API for Efficient Watermark Removal

Leverage our Node.js via Java API to seamlessly remove or clear watermarks from a variety of document formats including PDFs and Office files. Designed for developers, this API integrates effortlessly with your Node.js via Java applications, ensuring clean and clear documents.

Remove Watermark

Node.js via Java Watermark Removal

Use our Node.js via Java API to remove watermarks with precision and ease. Perfect for applications requiring unmarked documents for presentation or further processing.

Batch Watermark removal processing

Efficiently handle multiple documents with our bulk watermark removal feature. Save time and server resources by processing large batches of files simultaneously in your Node.js via Java applications.

Edit out and Delete Watermarks Flexibly

Our API allows for flexible editing and deletion of watermark elements, catering to various business needs and document types. Adapt your documents to maintain a professional appearance while ensuring content integrity.

Delete PDF hyper-link watermarks

This example shows how to delete all watermarks with proper hyper-link from a PDF

TypeScript


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

    //  Load PDF in Watermarker
    const watermarker = new groupdocsWatermark.Watermarker("source.pdf");

    //  Search for watermarks with hyper-link
    const searchCriteria = new groupdocsWatermark.TextSearchCriteria('someurl.com');
    const watermarks = watermarker.search(searchCriteria);

    //  Delete selected watermarks
    for (let i = watermarks.getCount() - 1; i >= 0; i--) {
        if (watermarks.get_Item(i) instanceof groupdocsWatermark.HyperlinkPossibleWatermark) {
            console.log(watermarks.get_Item(i).getText());
            watermarks.removeAt(i);
        }
    }

    //  Save changes in the document
    watermarker.save("result.pdf");
    watermarker.close();

GroupDocs.Watermark for Node.js via Java library

The GroupDocs.Watermark for Node.js via Java library simplifies watermark management in Excel files, enabling developers to remove, adjust, or completely clear watermarks. This tool is essential for maintaining the integrity and presentation of financial and analytical data in Excel sheets, supporting a variety of business processes.
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.

Enhancing Excel Files with Node.js via Java

Learn how the GroupDocs.Watermark for Node.js via Java API can help you manage and remove watermarks from Excel documents, ensuring unobstructed data visibility and professional document aesthetics.

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