TX Text Control .NET for WPF

PDF Processing

Topic

Documents that leave a WPF application for customers, archives or signatures usually leave it as PDF. TX Text Control writes PDF files directly from the document in the TextControl with its own PDF filter. Adobe Acrobat is not needed. Three tutorials extend the editor window of your first application step by step, from a plain PDF to a fillable form and a digitally signed document.

What You Build

TutorialResultMain members
Create a PDFPDF files with document properties, a Save As dialog, PDF/A for archiving and password protectionTextControl.Save, SaveSettings, StreamType.AdobePDF
Create a PDF FormA PDF with a text box, a drop-down list and a check box to fill out, and the Form Fields tab of the ribbonFormFields, TextFormField, SelectionFormField, CheckFormField
Digitally Sign a PDFA PDF signed with a certificate, with a timestamp and a visible signature fieldDigitalSignature, SaveSettings.DigitalSignature, SignatureField

A PDF form created with TX Text Control, open in Adobe Acrobat with its drop-down list expanded.

Before You Start

The tutorials don't depend on each other, but the second and third use the Save call and the SaveSettings that Create a PDF introduces, so start with that one.

The Same API as in Other Applications

SaveSettings, the form field classes and DigitalSignature are shared by all TX Text Control .NET products, so the code of these tutorials also works with a ServerTextControl. WPF adds the XAML around it and a few types of its own: Save with a Save As dialog returns a DialogResult of the namespace TXTextControl.WPF, and the Form Fields tab is a RibbonFormFieldsTab in the Ribbon of WPF.