GroupDocs.Signature for .NET

Generate stamps for PDF files

Seamlessly integrate custom-designed stamps into any section of your documents using GroupDocs.Signature for .NET, offering extensive flexibility for stamp placement and configuration to meet your business needs.

How to embed stamp into PDF using C#

GroupDocs.Signature offers a robust stamp creation feature, ideal for enhancing .NET applications. Leverage this tool to design and implement highly customized stamps on your document pages.

  1. Provide the PDF document to be stamped.
  2. Utilize StampSignOptions to meticulously configure all requisite parameters.
  3. Add multiple stamp lines as per your requirements.
  4. Apply the configured stamp and save the modified document.
// Integrate the document path with the Signature instance
using (Signature signature = new Signature("input.pdf"))
{
    // Initialize StampSignOptions with the required signature content
    StampSignOptions options = new StampSignOptions();
    options.Height = 180;
    options.Width = 180;

    // Incorporate one or multiple stamp lines
    options.OuterLines.Add(
        new StampLine()
        {
            Text = "* The Best Company *",
            TextRepeatType = StampTextRepeatType.FullTextRepeat,
            Font = new SignatureFont() { Size = 12, FamilyName = "Arial" },
            Height = 22,
            TextBottomIntent = 6,
            TextColor = Color.WhiteSmoke,
            BackgroundColor = Color.DarkSlateBlue
        }
    );

    // Preserve the document with the applied stamp
    SignResult result = signature.Sign("output.pdf", options);
}
dotnet add package GroupDocs.Signature
click to copy
copied
More examples Documentation

Leverage signatures to secure and enhance document integrity

With the GroupDocs.Signature for .NET library, you can seamlessly integrate signature functionality into your documents. Easily add, modify, verify, or remove custom stamps and other signature types, offering flexibility and precision for secure document management.

Stamp Signatures Powered by GroupDocs.Signature

Comprehensive document signing

Enhance your documents by placing signatures, including text, images, barcodes, QR codes, and stamps, at any position or page within the file. Additionally, manage embedded metadata and apply digital certificates to safeguard against unauthorized changes.

Efficient signature search and validation

After signing, verify the authenticity and integrity of document signatures. Utilize advanced search functionality to retrieve and manage all signature data embedded in the document.

Modify and customize signatures

Adjust previously inserted signatures with ease. Whether you need to change the content, position, size, or color, our solution offers full flexibility for signature modification.

Effortlessly remove signatures

When signatures need to be removed, GroupDocs.Signature for .NET provides a complete set of tools to delete any type of signature, including stamps, digital certificates, and more, ensuring that your documents remain up-to-date and compliant.

Implement custom stamps in documents

Discover how to craft and integrate custom stamps bearing critical textual details into your documents.

C#

// Supply the document to be stamped
using (Signature signature = new Signature("input.pdf"))
{
    // Initialize the stamp options with the desired configurations
    StampSignOptions options = new StampSignOptions()
    {
          // Define the stamp’s dimensions and position on the page
          Height = 200,
          Width = 200,
          VerticalAlignment = VerticalAlignment.Bottom,
          HorizontalAlignment = HorizontalAlignment.Right,
          AllPages = true
    };

    // Incorporate outer circular lines with text
    options.OuterLines.Add(
          new StampLine()
          {
              Text = "* The best  choice *",
              TextRepeatType = StampTextRepeatType.FullTextRepeat,
              Font = new SignatureFont() { Size = 12, FamilyName = "Arial" },
              Height = 22,
              TextBottomIntent = 6,
              TextColor = Color.WhiteSmoke,
              BackgroundColor = Color.DarkSlateBlue
          }
    );

    // Integrate inner square lines if necessary
    options.InnerLines.Add(
          new StampLine()
          { 
              Text = "Company #1",
              TextColor = Color.MediumVioletRed,
              Font = new SignatureFont() { Size = 20, Bold = true },
              Height = 40
          }
    );

    // Finalize and save the stamped document
    SignResult result = signature.Sign("output.pdf", options);
}
dotnet add package GroupDocs.Signature
click to copy
copied
More examples Documentation

Overview of GroupDocs.Signature for .NET

GroupDocs.Signature for .NET is a versatile tool that enables the insertion of multiple signature types into documents, including customizable stamps. Supporting over 60 file formats, from PDFs and Word documents to images and ZIP files, you can enrich your documents with text, image, barcode, metadata, digital certificates, and stamps. Furthermore, you have full control to search, validate, modify, or remove any signatures applied to your files.
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 core functionalities

Discover a broad range of options to create, manage, and delete various types of signatures, ensuring comprehensive control over your document workflows.

Apply stamps across various document formats

The GroupDocs.Signature API allows you to embed stamps across more than 60 industry-standard file types. Effortlessly apply custom stamps to any location within your documents, enabling enhanced document tracking and personalization.

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