Loading, Saving and Database Support

Properties

Property Description
TXTextControl.TXTextControl.DataText The DataText property is used internally by Visual Basic when a Text Control is used as a bound control.
TXTextControl.TXTextControl.DataTextFormat When using a Text Control as a bound control, this property specifies if the data which is exchanged with a database is text or binary data.
TXTextControl.TXTextControl.Device This property returns or sets the device for which the current Text Control document is formatted.
TXTextControl.TXTextControl.LoadSaveAttribute This property enables an application to specify several attributes that can be used in combination with the Load and Save methods for the following situations: 1.
TXTextControl.TXTextControl.RTFSelText This property works much like the standard SelText property.
TXTextControl.TXTextControl.Text Returns or sets the complete text of a Text Control.

Methods

Method Description
TXTextControl.TXTextControl.Append Appends text in a certain format from a file and inserts it at the end of the current document.
TXTextControl.TXTextControl.AppendFromMemory Appends text in a certain format from a buffer and inserts it at the end of the current document.
TXTextControl.TXTextControl.Load Loads text in a certain format from a file and inserts it into the Text Control.
TXTextControl.TXTextControl.LoadFromMemory Loads text in a certain format from a buffer and inserts it into the Text Control.
TXTextControl.TXTextControl.ResetContents Deletes the complete contents of a Text Control including tables, objects, marked text fields and headers and footers.
TXTextControl.TXTextControl.Save Saves data in a file with a specified format.
TXTextControl.TXTextControl.SaveToMemory Returns a one-dimensional byte array containing text data in a specified format.
TXTextControl.TXTextControl.SaveToMemoryBuffer Returns a buffer containing text data in a specified format.

Events

Event Description
TXTextControl.TXTextControl.Change Indicates that the contents of a Text Control have changed.