GroupDocs.Watermark for Node.js via Java API

Node.js via Java for DOCX Watermark Management

Utilize the GroupDocs.Watermark for Node.js via Java API to effectively delete or edit out watermarks in DOCX files, ideal for maintaining pristine document formatting.

Effortlessly Delete Watermarks from Docx by Node.js via Java

GroupDocs.Watermark streamlines the process of removing watermarks from business documents. Elevate your Node.js via Java application by seamlessly integrating our library and following these straightforward steps:

  1. Initiate the process by instantiating the core class, Watermarker, with the Docx document. Our versatile API seamlessly processes documents, whether provided as a stream or a local path.
  2. Leverage SearchCriteria to precisely pinpoint the watermarks to be addressed. Utilize various parameters such as images, text, or formatting features to refine your search. The more detailed your criteria, the more accurate your results.
  3. Execute the removal process on the list of document watermarks retrieved through your search. Effortlessly delete them from the document.
  4. Upon successfully deleting the watermarks, securely save the resulting document as a local file or a byte stream, preserving its integrity.

// Delete image watermark in DOCX document

// Get Watermarker passing DOCX path as an argument
const watermarker = new groupdocs.watermark.Watermarker("input.docx");

// Clear image watermarks by search criteria
const searchCriteria = 
    new groupdocs.watermark.ImageDctHashSearchCriteria("logo.png");
const watermarks = watermarker.search(searchCriteria);
watermarks.clear();

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

Node.js via Java API for Watermark Removal | GroupDocs.Watermark

Integrate our Node.js via Java API to effortlessly remove watermarks from documents, enhancing document clarity and aesthetics. Tailored for Node.js via Java environments, this API is perfect for applications needing to process and present clean documents free of watermarks.

Remove Watermark

Streamlined Watermark Removal for Node.js via Java

Our API offers streamlined watermark removal tools designed specifically for Node.js via Java applications, enabling developers to enhance document readability and professional appearance without complex coding.

Node.js via Java Batch Watermark Cleanup

Capitalize on the ability to clear watermarks from multiple documents in one go with our batch processing feature. This is especially useful for applications that need to handle large document flows quickly and efficiently.

Flexible Watermark Editing via Node.js via Java

Adjust, modify, or completely remove watermarks using our flexible editing tools. This feature allows Node.js via Java developers to tailor document processing to specific business needs or client requests, ensuring optimal outcomes.

Delete spreadsheet header watermarks

This example shows how to delete watermarks which were put into XLSX headers

TypeScript


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

    //  Load Spreadsheet workbook
    const loadOptions = new groupdocsWatermark.SpreadsheetLoadOptions();
    const watermarker = new groupdocsWatermark.Watermarker("source.xlsx", loadOptions);

    //  Get list of header sections
    const content = watermarker.getContent(groupdocsWatermark.SpreadsheetContent.class);
    const sections = content.getWorksheets().get_Item(0).getHeadersFooters()
        .getByOfficeHeaderFooterType(groupdocsWatermark.OfficeHeaderFooterType.HeaderPrimary).getSections();

    //  Delete watermarks from headers
    for (const section of sections.getInnerList().toArray()) {
        section.setScript(null);
        section.setImage(null);
    }

    //  Save cleared workbook
    watermarker.save("result.xlsx");
    watermarker.close();

GroupDocs.Watermark for Node.js via Java library

The GroupDocs.Watermark for Node.js via Java library offers robust tools for managing watermarks in DOCX documents. From simple removals to complex edits, this API enables developers to maintain document aesthetics and integrity, catering to business, legal, and academic needs.
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.

Mastering DOCX File Watermark Removal with Node.js via Java

Discover the capabilities of theGroupDocs.Watermark for Node.js via Java API to manage and remove watermarks from DOCX files, enhancing document security and presentation without compromising on quality.

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