

Importing and Processing Signature Fields from MS Word in C#
source link: https://www.textcontrol.com/blog/2023/01/06/importing-and-processing-signature-fields-from-ms-word-in-csharp/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

The TX Text Control SignatureField objects are compatible to the Signature Line element in MS Word. This article shows how to insert those elements in MS Word in order to import and process these objects in TX Text Control.
Creating Signature Lines in MS Word
To create a document in MS Word that contains a signature line, use the Signature Line button in the Text ribbon group of the Insert ribbon tab.

In the opened dialog, additional information can be added to the signature line. These values are available in the SignatureField class when importing the document into TX Text Control.

After clicking OK, the signature line is inserted into the document.

Processing SignatureFields
After loading the document into TX Text Control, the signature lines are accessible through the SignatureFieldCollection .
All signature properties have been imported:
TX Text Control provides additional SignerData properties to be compatible to the Adobe PDF format when signing PDF documents.
Description | |
---|---|
Address | Gets the address of a suggested signer. |
ContactInfo | Gets contact information of a suggested signer, such as a phone number. |
Name | Gets the name of a suggested signer. |
Reason | Gets a reason why the document is signed. |
Title | Gets the title of a suggested signer. |
Signing SignatureFields
An X509Certificate2 certificate object is created from a PFX file that is then assigned to all signature fields. The list of signatures is provided through the SignatureFields property to the Save method to export the signed document as an Adobe PDF document.
Recommend
-
6
-
22
Importing and Reusing DMN Models in Red Hat Decision ManagerDecision Model and Notation (DMN) is a standard established by the Object Management Group (OMG) for descr...
-
7
...
-
9
Importing and exporting a WXR file in WordPress Overview WordPress uses something called a WXR (WordPress eXtended RSS) file to import and export site content. This article shows h...
-
6
Combine Form Fields, Merge Fields and Signature Boxes to Request Signatures The electronic signature best practices demo Text Control eSign shows how to use TX Text Control to integrate electronic signature processes into your a...
-
7
Importing and deploying your first Octopus project Octopus Deploy Setting up your first deployment can be challenging. There are new systems to learn and multiple configurations to get...
-
3
If you are a developer or database administrator that wants to load the data into your databases quickly, you probably already know that...
-
16
Blog Post How to Populate All Signature Form Fields When Creating a Signature Annotation Veronica Marini Last year, we rolled out a powerful new component on our
-
4
How to insert Certificated digital signature in Word for Mac S
-
7
Word Embeddings in Natural Language ProcessingSkip to content
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK