New Features and Update Notes
TX Text Control 19.0 provides the following new features:
Barcodes
TX Text Control now supports the insertion of barcode controls of the type TXTextControl.Barcode.TXBarcodeControl. A barcode can be positioned like 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 BarcodeFrame class handles the positioning of the barcode in the document. A barcode frame is always associated with a barcode control which handles the appearance and the data of the barcode. All barcodes in a document are contained in a BarcodeCollection. The collection can also be used to add barcodes to or to remove barcodes from the document. The barcode collection can be obtained through the TextControl.Barcodes, WPF.TextControl.Barcodes or ServerTextControl.Barcodes property. The TextControl.BarcodeLayoutDialog and WPF.TextControl.BarcodeLayoutDialog methods opens a dialog box, which offers layout settings such as positioning, size and text distances. A barcode can be saved with the TX Text Control and the RTF format and is reconstructed during a loading process. With other formats the barcode image is saved. If a document with barcodes is loaded on a system where no barcode controls are installed, the barcode's image is inserted.
Page Numbering
Text Control now supports additional features for showing page numbers. For each section in the document page numbers can either be continued from the previous section or can be restarted with a certain start number. The SectionFormat class has been extended with the SectionFormat.RestartPageNumbering property to support this feature. A PageNumberField can now be used to show the total number of pages. The new PageNumberField.ShowNumberOfPages property supports this feature. A new built-in dialog box can be used to alter the formatting and numbering attributes of page number fields. It can be opened with the PageNumberField.PageNumberDialog method.
Tables
A new TableCollection.Add method has been added, which opens a built-in dialog box to specify a new table.
Control Characters
TX Text Control now has a control character which shows the anchor position of an anchored object. Anchored objects are positioned relative to a paragraph. The anchor postion is shown left of this paragraph's first character. The anchor is shown only when an anchored object is selected. Additionally, individual control characters can be shown permanently on the screen independently of the value of the ControlChars property. This setting can be performed with the new TextControl.PermanentControlChars or WPF.TextControl.PermanentControlChars property.