eSign document with Image signature

What is an Image Signature?

An image as a signature is an alternative way to put any presenting data in a visual form. This electronic signature type allows the creation of custom images with a company logo, sender’s initials, names and so forth.

Images

GroupDocs.SignatureΒ providesΒ the ImageSignOptionsΒ classΒ to specify different settings for image signature such as image content by file or stream, location, colors and advanced effects.

Here are the steps to create an image signature on a document page:

  • Create a new instance ofΒ the Signature class and pass the source document path as a constructor parameter;
  • Instantiate theΒ ImageSignOptionsΒ object according to your requirements and specify Image signature options;
  • CallΒ the SignΒ method ofΒ the SignatureΒ class instance and passΒ the ImageSignOptionsΒ to it.

How to eSign document with Image signature

This example shows how to sign a PDF document with the image signature.

using (Signature signature = new Signature("sample.pdf"))
{
    ImageSignOptions options = new ImageSignOptions("signature.jpg")
    {
        // set signature position
        Left = 100,
        Top = 100,
        //
        AllPages = true
    };
    signature.Sign("SampleSigned.pdf", options);
}

Summary

This guide demonstrates how to use GroupDocs.SignatureΒ to add image-based signatures to documents. It covers loading a document, configuring the image signature’s properties (such as size, position, and opacity), and saving the signed document. Advanced customization options, like adjusting image appearance and aligning the signature, are also discussed. For further insights, explore related document signing resources.

Advanced Usage Topics

To learn more about document eSign features, please refer to theΒ advanced usage section.

More resources

GitHub Examples

You may easily run the code above and see the feature in action in ourΒ GitHub examples:

Free Online Apps

Along with the full-featured .NET library, we provide simple but powerful free online apps.

To generate image signatures and/or sign your files with them for free, you can use the Generate Image online app.

To sign PDF, Word, Excel, PowerPoint, and other documents you can use the other online apps from the GroupDocs.Signature App Product Family.