New Features and Update Notes

TX Text Control 15.1 provides several new features described in the following table.

New Features

Feature Description
Images, Text frames and OLE Objects Images, text frames and OLE objects can have an identifier and/or a name, which can be set with the ObjectUserId and ObjectName property. The ObjectGetFromUserId and the ObjectGetFromName methods can be used to look for an image, text frame or OLE object with a given id or name. An ObjectInsertionMode property has been added that can change the object's behaviour in the text programmatically after the object has been inserted or loaded. The ObjectTextflow property has been extended from read only to changeable. To get or to set an object's position, the ObjectPosX and the ObjectPosY property are available now.
Drag&Drop A Text Control has now a built-in Drag&Drop functionality. The AllowDrop property installs the control as a target for data the user drags onto it and the AllowDrag property enables the control as a source of a Drag&Drop operation. A Text Control accepts text formatted as Rich Text Format, HTML Format or plain text and images formatted as device dependent or device independent bitmaps, TIFF images or Windows metafiles. If the user moves the cursor over the control, it shows the insertion point where the data is inserted with a non-blinking caret. By default text is moved through Drag&Drop, pressing the CTRL key, text is copied. The ESC key cancels an operation.
Display Colors The colors which TX Text Control uses for the display elements of the tool bars and the text control can now be changed. By default the controls have a fixed color table for the standard Windows themes. Supported standard themes are the Windows XP standard theme: luna.msstyles (colors: Blue (NormalColor), Olive Green (Homestead), Silver (Metallic)), the Windows XP Media Center Edition standard theme: royale.msstyles (colors: NormalColor and Royale) and the Windows Vista and Windows 7 standard theme: aero.msstyles(colors: NormalColor). For all other themes the default colors depend on theme colors. If no theme is selected, the default colors depend on system colors. The TXTextControl.DisplayColor, TXButtonBar.DisplayColor, TXRulerBar.DisplayColor and TXStatusBar.DisplayColor properties can be used to individually design the controls' colors.
Saving Images With two new attributes of the LoadSaveAttribute property, txImageExportFormat and txImageSaveMode, all images of the document can be exported in a certain format and saving mode.
Unlimited Zoom Factor The ZoomFactor of a Text Control is no longer limited to 400 percent, when the ViewMode property has been set to 0 - Normal View or 2 - Page View. For the other modes the zoom factor is furthermore limited to 400 percent.
Mouse Wheel The functionality of the mouse wheel has been extended. Pressing the SHIFT key scrolls the visual part of the document horizontally and pressing the CONTROL key zooms the document.