New Features

Text Control 31.0 provides the following new features:

Feature Description
Signature Fields TX Text Control now supports signature fields which can be associated with a digital certificate. A signature field can be positioned such as an image or textframe, either geometrically or as a single character. Geometrically, its position can either be relative to a paragraph to which it is anchored or relative to the complete document. The new SignatureFieldInsert, SignatureFieldInsertAsChar and SignatureFieldInsertFixed methods can be used to insert such a field in a document. A signature field acts as a site for a signature image. Such an image can be added, when the document is designed or later when it is digitally signed, using the ImageFilename property. When the document is saved as a .pdf document, each signature field can be associated with a digital certificate using the LoadSaveAttribute property with the txSignatureFields setting. To associate the certificate a signature field must have a name. It can be specified through the ObjectName property. Additionally, a signature field can store data of a suggested signer which can be set with the SignatureFieldSignerData property. All signature fields in a document can be obtained with the ObjectNext method setting the ObjectGroup parameter to &H400. The ObjectGetSelected method setting the ObjectGroup parameter to the same value can be used to check if a signature field is selected. The ObjectAttrDialog method opens a dialog box, which offers layout settings such as positioning, size and text distances and image saving options, when a signature image exists. A signature field can be saved with the TX Text Control and the PDF format. With all other formats the signature image is saved. All other properties, methods and events which can be used with objects and images, such as ObjectDelete, ImageExportFormat or ObjectClicked can also be used with signature fields. See Images, Text Frames, Signature Fields and OLE Objects for a list.
Built-in Dialogboxes TextControl supports now built-in dialogboxes for opening and saving documents. The new TXTextControl.LoadDialog and TXTextControl.SaveDialog methods can be used to display them. The methods offer parameters to specify filters for available file formats and additional saving options. The LoadSaveAttribute property with the txDocFileName and txDocFileFormat attributes can be used to get the filename and format which the user has selected. The txDefaultFileFormat attribute determines the selected filter, when the dialogbox is opened.
Form Fields TextControl supports different types of form fields. To manage the default settings of a specific form field, the FormFieldDialog method is implemented that opens a built-in dialogbox.