New Properties, Methods and Events

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

Properties

Property Description
TXTextControl.CanCharacterFormat Informs whether character formatting attributes can be changed for the currently selected text.
TXTextControl.CanDocumentFormat Informs whether page and section formatting attributes can be changed.
TXTextControl.CanEdit Informs whether the document's text can be changed at the current text input position.
TXTextControl.CanParagraphFormat Informs whether paragraph formatting attributes can be changed for the currently selected text.
TXTextControl.CanPrint Informs whether the document can be printed.
TXTextControl.CanStyleFormat Informs whether the document can be formatted with formatting styles.
TXTextControl.CanTableFormat Informs whether table formatting attributes and/or the table layout can be changed for the currently selected text.
TXTextControl.DocumentPermissions Specifies settings determining how the document can be edited and formatted, when the EditMode is changed from Edit to Protected or Password Protected.
TXTextControl.EditableRegionUserId Returns or sets a user-defined identifier of an editable region.
TXTextControl.EditableRegionUserName Returns or sets the name of the user who can edit the region.
TXTextControl.SelectObjects Specifies a value controlling the selection of objects such as images and textframes which are inserted behind the text.
TXTextControl.UserNames Gets or sets a list of names specifying users who have access to a document.

Methods

Method Description
TXTextControl.EditableRegionDelete This method can be used to delete an editable region from the document.
TXTextControl.EditableRegionGoto Sets the current input position to the beginning of the specified editable region and scrolls the text so that this position is at the top of the control's visible text.
TXTextControl.EditableRegionInsert This method inserts a new editable region in the text.

Events

Event Description
TXTextControl.EditableRegionEntered Occurs when the current input position has been moved to a position that belongs to an editable region.
TXTextControl.EditableRegionLeft Occurs when the current input position has left an editable region.