Skip to end of metadata
Go to start of metadata
Contents Summary
  

The source code in below examples uses some methods defined in Common Utilities

Signing Image Documents with Stamp Signature

The Recipe

Using GroupDocs.Signature for .NET user can add stamp signature in any Image document. Given below steps are needed to be followed:

  • Configure the storage paths, create and populate the object of SignatureConfig
  • Instantiate the signature handler, by passing SignatureConfig
  • Initialize an object of type ImagesStampSignOptions and name it as signOptions
  • Setup your required sign options like the height, width etc
  • Initialize an object of type StampLine
  • Setup your required line options like the height, width, text, background color etc
  • Sign the document
  • Save output file

The Code

Signing Images with Stamp Signature using Stamp Type

The Recipe

Using GroupDocs.Signature for .NET user can add stamp signature either square or round in any Image. Given below steps are needed to be followed:

  • Configure the storage paths, create and populate the object of SignatureConfig
  • Instantiate the signature handler, by passing SignatureConfig
  • Setup ImagesStampSignOptions

  • Set StampType property to Square

  • Sign the document

  • Save output file

The Code

Signing Images with Round Corner Stamp Signature

The Recipe

Using GroupDocs.Signature for .NET user can add square stamp signature with round corners in any Image. Given below steps are needed to be followed:

  • Configure the storage paths, create and populate the object of SignatureConfig
  • Instantiate the signature handler, by passing SignatureConfig
  • Setup ImagesStampSignOptions

  • Setup your desired look of the stamp by configuring the object of type StampLine i.e setting up the text, height, color etc

  • Instantiate the SquareBorderLine, to set the radius of square corner

  • Sign the document

  • Save output file

The Code

Labels
  • No labels