Add Digital Signatures on an existing page | Telerik Document Processing
Product Version | Product | Author |
---|---|---|
2021.1.118 | RadPdfProcessing | Georgi Georgiev |
Description
A common scenario is to replace a temporary page content (a templated text) with a Digital Signature widget. This allows already created PDF documents, e.g. using the Telerik Report Designer, to be modified by adding a Digital Signature on a position defined by the existing content of the document.
Solution
The following example demonstrates the approach of iterating the page content and finding TextFragment elements matching the $CollectSignature text. For each found match, a Signature Field is created and the TextFragment is replaced with a Signature widget. The Rect property is used to position and outline the Signature widget on the page.