New Classes, Properties, Methods and Events

In TX Text Control 15.1 the following new classes, properties, methods and events have been added:


Class Description
TXTextControl.FrameBase The FrameBase class is the base class of the Image, TextFrame, ChartFrame, BarcodeFrame and DrawingFrame classes.
TXTextControl.ImageCollection An instance of the ImageCollection class contains all images in a Text Control document or part of the document represented through objects of the type Image.


Property Description
TXTextControl.FrameBase.Alignment Gets or sets the frame's horizontal alignment when it is anchored to a paragraph.
TXTextControl.FrameBase.ID Gets or sets an identifier for the frame.
TXTextControl.FrameBase.InsertionMode Gets or sets a value determining whether the frame is treated as a single character or the document's text either flows around or overwrites the frame.
TXTextControl.FrameBase.Location Gets or sets, in twips, the frame's current location.
TXTextControl.FrameBase.Moveable Determines whether a frame can be moved in the document at run time with the built-in mouse interface.
TXTextControl.FrameBase.Name Gets or sets a name for the frame.
TXTextControl.FrameBase.Size Gets or sets the frame's size in twips.
TXTextControl.FrameBase.Sizeable Determines whether the frame can be resized at run time with the built-in mouse interface.
TXTextControl.FrameBase.TextDistances Gets or sets the distances, in twips, between the frame and the document's text.
TXTextControl.FrameBase.TextPosition Read only.
TXTextControl.ImageCollection.ExportFilters Gets all available filters for exporting images.
TXTextControl.ImageCollection.ImportFilters Gets all available filters for importing images.
TXTextControl.SaveSettings.ImageExportFilterIndex Sets the format used for saving all images contained in the document.
TXTextControl.SaveSettings.ImageSaveMode Determines whether the document's images are stored through its data or through its file reference.


Method Description
TXTextControl.ImageCollection.Add Inserts a new image in a Text Control document.
TXTextControl.ImageCollection.CopyTo Copies the elements of the collection to an array, starting at a particular index.
TXTextControl.ImageCollection.GetItem Gets a particular image from the collection.
TXTextControl.ImageCollection.Remove Removes an image from a Text Control document.
TXTextControl.ServerTextControl.GetSupportedFonts Gets an array of strings specifying the names of all currently supported fonts.
TXTextControl.TextFrameCollection.GetItem Gets a particular text frame from the collection.