EldoS
Navigation
Web site
Support
Table Of Contents

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.

Note, that only JPEG2000 format is supported by PDF standard for background images. Other image formats (including JPEG) are NOT SUPPORTED.

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.

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation