GroupDocs.Signature for Node.js via Java

Insert customized stamps into PDF files

Utilize GroupDocs.Signature for Node.js via Java to generate tailored stamps and insert them at any location in your documents. Our platform provides extensive options to personalize stamps according to your specific business requirements.

Guide to embedding stamps in PDF using JavaScript

GroupDocs.Signature provides a powerful tool for creating and embedding stamps, which can significantly enhance Node.js via Java applications. Use this feature to craft and apply custom stamps to your document pages.

  1. Input the PDF document that requires stamping.
  2. Deploy StampSignOptions to define all essential parameters.
  3. Insert as many stamp lines as needed.
  4. Apply the stamp and save the finalized document.
const signatureLib = require('@groupdocs/groupdocs.signature')

// Associate the document path with the Signature instance
const signature = new signatureLib.Signature('input.pdf');

// Create StampSignOptions with the necessary signature content
const options = new signatureLib.StampSignOptions();
options.Height = 180;
options.Width = 180;

// Incorporate one or more stamp lines
const outerLine = new signatureLib.StampLine();
outerLine.setText("* The Best Company *");
outerLine.setTextRepeatType(signatureLib.StampTextRepeatType.FullTextRepeat);
outerLine.getFont().setSize(12);
outerLine.setHeight(22);
outerLine.setTextBottomIntent(6);
outerLine.setTextColor(signatureLib.Color.WHITE);
outerLine.setBackgroundColor(signatureLib.Color.BLUE);
options.getOuterLines().add(outerLine);

// Save the document with the applied stamp
const result = signature.sign('output.pdf', options);
npm i @groupdocs/groupdocs.signature
click to copy
copied
More examples Documentation

Strengthen document security with signatures

With GroupDocs.Signature for Node.js via Java, you can add, edit, validate, or remove stamps and other signature types within all popular document formats. The API simplifies the process of managing signatures for enhanced document integrity and customization.

Features of GroupDocs.Signature

Custom document signing

Apply signatures such as text, images, barcodes, QR codes, and stamps to any part of your document. This tool also allows the inclusion of hidden metadata and digital certificates to further protect your content from unauthorized modifications.

Signature search and verification

After a document has been signed, use our verification system to ensure the integrity of the signatures. Additionally, our platform enables you to search for and retrieve detailed information on all signatures applied to a document.

Modify signatures as needed

Adjust and update previously applied signatures with ease. Whether it’s changing the content, color, size, or position of the signature, GroupDocs.Signature for Node.js via Java offers full customization options.

Remove unwanted signatures

Easily remove any unnecessary signatures from your documents. Our API supports the deletion of a wide range of signature types, including stamps and digital certificates, giving you complete flexibility to manage your documents.

Integrate custom stamps into documents

Learn how to design and apply customized stamps containing essential text to your documents.

JavaScript

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

// Provide the document for stamping
const signature = new signatureLib.Signature('input.pdf');

// Set up stamp options with the desired configurations
const options = new signatureLib.StampSignOptions();

// Specify the dimensions and position of the stamp on the page
options.setHeight(200);
options.setWidth(200);
options.setVerticalAlignment(signatureLib.VerticalAlignment.Bottom);
options.setHorizontalAlignment(signatureLib.HorizontalAlignment.Right);
options.setAllPages(true);

// Include outer circular lines with custom text
const outerLine1 = new signatureLib.StampLine();
outerLine1.setText('* The best  choice *');
outerLine1.setTextRepeatType(signatureLib.StampTextRepeatType.FullTextRepeat);
const signatureFont1 = new signatureLib.SignatureFont();
signatureFont1.setSize(12);
signatureFont1.setFamilyName('Arial');
outerLine1.setFont(signatureFont1);
outerLine1.setHeight(30);
outerLine1.setTextBottomIntent(6);
outerLine1.setTextColor(signatureLib.Color.WHITE);
outerLine1.setBackgroundColor(signatureLib.Color.BLUE);
options.getOuterLines().add(outerLine1);

// Add inner square lines as needed
const innerLine1 = new signatureLib.StampLine();
innerLine1.setText('Company #1');
innerLine1.setTextColor(signatureLib.Color.RED);
const signFont1 = new signatureLib.SignatureFont();
signFont1.setSize(20);
signFont1.setBold(true);
innerLine1.setFont(signFont1);
innerLine1.setHeight(40);
options.getInnerLines().add(innerLine1);

// Save the stamped document
const result = signature.sign('output.pdf', options);
npm i @groupdocs/groupdocs.signature
click to copy
copied
More examples Documentation

What is GroupDocs.Signature for Node.js via Java?

GroupDocs.Signature for Node.js via Java provides a robust and versatile solution for document signing. It enables users to add stamps and other signature types across over 60 different formats, such as PDFs, Word, Excel, image files, and ZIP files. The platform allows you to insert text, image, barcode, QR code, metadata, digital certificate, and stamp signatures. In addition to signing, you can search for, verify, modify, or delete any signatures present within your documents.
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 key features

Our solution offers a variety of tools for creating, managing, and removing different types of signatures, giving users full control over their document workflows.

Apply stamp signatures across multiple file types

The GroupDocs.Signature API supports stamp signatures across 60+ file formats, allowing users to place customized stamps on any page or area, improving document accessibility and security.

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