New Features and Update Notes

TX Text Control 12.0 provides the several new features all described in the following tables.

New Features

Feature Description
Anchored Images In prior versions of TX Text Control images and OLE objects can either be inserted like a single character or geometrically positioned relative to the complete document. Now a third method is supported that is called 'anchored to a paragraph'. This means that the text still flows around the image or OLE object but the geometrical position is relative to the paragraph to which it is anchored. If other text is inserted in front of this paragraph the object is moved with the text. The new methods ImageInsert and ObjectInsert have been implemented to insert such an image or OLE object in the text. All properties that deal with images and OLE object have been enhanced so that the programmer can manipulate anchored images and OLE objects.
Text Frames TX Text Control now supports text frames. A text frame is a rectangle that can be filled with text by an end-user and that can be edited like the main text. A text frame can be positioned like an image, 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 a document's page. Three methods have been implemented to insert text frames: TextFrameInsert inserts a text frame that is anchored to a paragraph and that is moved with the text. TextFrameInsertAsChar inserts a textframe that is handled in the document like a single character and TextFrameInsertFixed inserts a text frame that is aligned at a fixed page position. A text frame is fully programable from program code. Every Text Control property or method can be routed to a text frame. The new method TextFrameSelect determines whether a certain Text Control property manipulates a text frame or the main text. Further properties set text frame attributes like the width of the border line, internal margins and the background color.
Image and Text Frame Attributes A new built-in dialog box has been added to allow attributes of images and text frames to be changed. It can be used to set general attributes like size, text wrapping, scaling and text distances. Furthermore, it has a special tab to set filename, format, resolution and compression for image export, and a special tab to set background color and frame attributes for text frames. The new ObjectAttrDialog method opens this dialog.
Image and Text Frame Mouse Interface A new mouse interface for integrated objects like images and text frames is available. Objects can be moved and sized in every insertion mode. A selection frame with size handles shows the current selection state.
Table Formatting Additional features have been added to give end-users more control of how tables are formatted at page breaks. A forced page break can be inserted in a table at each character position using the CTRL+ENTER key combination. This moves the complete table row to the next page. Additionally, a table row can receive a new formatting attribute determining that the complete row is moved to the next page, if at least one line of text is on the next page. Furthermore, a height can be specified which is the table row's minimum height. If more text is inserted, the height grows as necessary. All of these features can be set with the built-in dialog box for setting table attributes and through code using the TableCellAttribute property.

Update Notes

Property/Method/Event Update Note
ObjectCurrent Property Has been extended to support text frames, and anchored images and OLE objects.
ObjectNext Property Has been extended to support text frames, and anchored images and OLE objects.