GroupDocs.Signature for Node.js via Java

Effortlessly adjust signatures in PDF

With GroupDocs.Signature for Node.js via Java, you can modify various electronic signatures embedded in your business documents, including PDFs, Word files, Excel sheets, presentations, and image formats.

Guide to modifying text signatures in PDF using JavaScript

GroupDocs.Signature empowers Node.js via Java developers to update the content of text signatures previously embedded in PDF files. Enhance Node.js via Java applications with robust editing capabilities.

  1. Import the PDF document into the Signature instance.
  2. Retrieve a list of all signatures within the document.
  3. Update the content of the desired signature.
  4. Examine the results of the modifications.
const signatureLib = require('@groupdocs/groupdocs.signature')

// Initialize a Signature object with the document path
const signature = new signatureLib.Signature('input.pdf');

// Perform a search to locate text signatures in the document
const options = new signatureLib.TextSearchOptions();
const signatures = signature.search(signatureLib.TextSignature.class, options).toArray();

if (signatures.length > 0) {
    // Edit the text of the first identified signature
    const textSignature = signatures[0];
    textSignature.setText('New Text');
    const result = signature.update('output.pdf', textSignature);

    // Verify the changes made to the signature
    if (result) {
      console.log(`\nSignature was updated successfully`);
    }
}
npm i @groupdocs/groupdocs.signature
click to copy
copied
More examples Documentation

Signature management for documents

GroupDocs.Signature for Node.js via Java offers a robust suite of tools for adding, modifying, verifying, searching, and deleting signatures across a wide array of document formats, enhancing your workflow and document security.

Signature editing

Flexible document signing

Sign your documents with a variety of options—text, images, barcodes, and stamps—at any location in your files. You can also adjust embedded metadata like EXIF data in images and protect sensitive information using digital certificates.

Verify and search signatures

Ensure the integrity of your documents by verifying signatures with ease. Use built-in search functionality to locate and manage all signatures within a file, ensuring nothing is overlooked.

Update existing signatures

When a signature needs adjustments, whether in appearance, position, or content, our API makes the process smooth and hassle-free, letting you fine-tune any signature quickly.

Remove unwanted signatures

Whether you need to remove an outdated signature or clean up your document, GroupDocs.Signature for Node.js via Java offers full control over signature deletion, ensuring your files remain up-to-date and accurate.

Edit barcode signatures

This example demonstrates how to programmatically edit barcode signatures within a document.

JavaScript

const signatureLib = require('@groupdocs/groupdocs.signature')

// Load a document that includes barcode signatures
const signature = new signatureLib.Signature('input.pdf');

// Identify all barcode signatures within the document
const options = new signatureLib.BarcodeSearchOptions();
const signatures = signature.search(signatureLib.BarcodeSignature.class, options).toArray();

if (signatures.length > 0) {

    // Alter the location of the first barcode signature and save the document
    const barcodeSignature = signatures[0];
    barcodeSignature.setLeft(100);
    barcodeSignature.setTop(100);
    const result = signature.update('output.pdf', barcodeSignature);

    // Confirm the successful modification of the barcode
    if (result) {
      console.log(`\nBarcode was updated successfully.`);
    }
}
npm i @groupdocs/groupdocs.signature
click to copy
copied
More examples Documentation

Overview of GroupDocs.Signature for Node.js via Java

GroupDocs.Signature for Node.js via Java empowers you to not only add signatures but also to adjust them as needed. Whether you’re working with PDFs, Word documents, Excel spreadsheets, or presentations, GroupDocs.Signature for Node.js via Java offers seamless control over signature management, making future modifications simple and intuitive.
Learn more
About illustration

Ready to get started?

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

Useful resources

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

Explore our signature and functionality options

We provide a rich array of signature capabilities along with numerous operational tools

Edit signatures across multiple file formats

With Node.js via Java API, signed documents can be revisited at any time, allowing you to extract and modify signature properties for popular business formats, ensuring complete flexibility and control.

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