Discuss this help topic in SecureBlackbox Forum

Customize signature widget background

To specify the type of the signature widget's background, use its BackgroundStyle property. Set it to pbsDefault or pbsNoBackground to use the default picture or not to use picture at all, correspondingly.

If you want to set a custom picture as a signature background, you should perform the following steps:

  1. Set TElPDFSignatureWidgetProps.BackgroundStyle to pbsCustom.
  2. Specify the dimensions of the image using TElPDFSignatureWidgetProps.Background.Height and TElPDFSignatureWidgetProps.Background.Width properties.
  3. Assign raw image data to TElPDFSignatureWidgetProps.Background.Data property.
  4. Assign the format of your image to TElPDFSignature.WidgetProps.Background.ImageType property. JPEG2000, JPEG and custom bitmap image formats are supported (see TSBPDFImageType).

Horizontal and vertical stretching of the widget's background are specified by StretchX and StretchY properties, correspondingly. If AutoStretchBackground is set to True, their values will be calculated automatically to fit the signature widget.

How To articles about PDF signing

Discuss this help topic in SecureBlackbox Forum