New Properties, Methods and Events

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

Properties

Property Description
Style.AutoBaseLine Returns or sets values specifying automatic sub- or superscripted text.
Style.Capitals Returns or sets values specifying wheather lowercase letters are displayed with capital letters.
Style.CharacterScaling Returns or sets the style's character scaling, in percent of the average character width.
Style.CharacterSpacing Returns or sets the style's character spacing value, in twips.
Style.Locale Specifies the style's language.
TXTextControl.AutoBaseLine Returns or sets values specifying wheather the selected text is automatically sub- or superscripted.
TXTextControl.Capitals Returns or sets values specifying wheather lowercase letters are displayed with capital letters.
TXTextControl.CharacterScaling Returns or sets a character scaling, in percent of the average character width, of the selected text.
TXTextControl.CharacterSpacing Returns or sets a character spacing value, in twips, of the selected text.
TXTextControl.CommentCreationTime Returns the date and time when the specified comment has been made.
TXTextControl.CommentEnd Returns the index (one-based) of the last character of the text associated with the specified comment.
TXTextControl.CommentHighlightMode This property returns or sets a value determining how commented text is highlighted in the document.
TXTextControl.CommentReplies Returns the identifiers of all replies of the specified comment.
TXTextControl.CommentStart Returns the index (one-based) of the first character of the text associated with the specified comment.
TXTextControl.CommentText Returns or sets the comment's text.
TXTextControl.CommentUserName Returns the name of the user who has commented the document.
TXTextControl.EditableRegionHighlightMode This property returns or sets a value determining how editable regions are highlighted in the document.

Methods

Method Description
TXTextControl.ChangeCapitalization Changes the capitalization of all selected characters depending on the Option parameter.
TXTextControl.CommentDelete This method removes a comment from the document.
TXTextControl.CommentEdit This method opens a comment input control which the end-user can use to edit to the specified comment.
TXTextControl.CommentGetReplied Gets the comment for which the specified comment is a reply.
TXTextControl.CommentInsert This method opens a comment input control which the end-user can use to insert a new comment in the document.
TXTextControl.CommentNext This method returns the identifier of the comment that follows the specified comment in the Text Control's current text.
TXTextControl.CommentReply This method opens a comment input control which the end-user can use to reply to the specified comment.

Events

Event Description
TXTextControl.CommentChanged Occurs when the text of a comment has been changed.
TXTextControl.CommentCreated Occurs when a comment has been created.
TXTextControl.CommentDeleted Occurs when a comment has been deleted.
TXTextControl.CommentedTextEntered Occurs when the current input position indicated by the caret has been moved to a position that belongs to a commented piece of text.
TXTextControl.CommentedTextLeft Occurs when the current input position indicated by the caret has left a commented piece of text.