New Classes, Properties, Methods and Events

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

Classes

Class Description
TXTextControl.DocumentServer.Fields.NextField The NextField class implements the MS Word specific NEXT field.
TXTextControl.DocumentServer.Fields.NextIfField The NextIfField class implements the MS Word specific NEXTIF field.
TXTextControl.DocumentServer.MailMerge.ImageMergedEventArgs The ImageMergedEventArgs class provides data for the ImageMerged event.
TXTextControl.HyphenateWordEventArgs The HyphenateWordEventArgs class provides data for the TextControl.HyphenateWord, ServerTextControl.HyphenateWord and WPF.TextControl.HyphenateWord events.

Properties

Property Description
TXTextControl.DocumentServer.Fields.MergeField.DateTimeFormat Specifies a string format which is applied to date / time values.
TXTextControl.DocumentServer.Fields.MergeField.NumericFormat Specifies a string format which is applied to numeric values.
TXTextControl.DocumentServer.MailMerge.ReportDataSourceConfig Specifies the Report Data Source Configuration as an XML string.
TXTextControl.DocumentServer.MailMerge.ReportDataSourceConfigFile Gets or sets the file path of a Report Data Source Configuration file (*.rdsc) which has been created with TX Text Control Words.
TXTextControl.DocumentServer.MailMerge.TemplateFile Specifies the template file path.
TXTextControl.InputFormat.LeftToRight Gets or sets a value specifying whether the writung direction is left-to-right at the current input position.
TXTextControl.InputFormat.RightToLeft Gets or sets a value specifying whether the writing direction is right-to-left at the current input position.
TXTextControl.InputPosition.CaretSize Gets the size of the caret, in pixels, at the current text input position.
TXTextControl.MisspelledWord.Culture Gets the culture of the misspelled word.
TXTextControl.ParagraphFormat.Direction Gets or sets the writing direction.
TXTextControl.ParagraphFormat.Justification Gets or sets the kind of justification in documents containing Arabic or Hebrew characters.
TXTextControl.Selection.Culture Gets or sets the culture of the selected text.
TXTextControl.ServerTextControl.IsHyphenationEnabled Gets or sets a value indicating whether hyphenation is active or not.
TXTextControl.SpellCheckTextEventArgs.Culture Gets the culture of the text to check.
TXTextControl.StatusBar.ShowLanguage Specifies whether the status bar shows the language of the text selection or the text input position.
TXTextControl.TextControl.IsHyphenationEnabled Gets or sets a value indicating whether hyphenation is active or not.
TXTextControl.WPF.StatusBar.ShowLanguage Specifies whether the status bar shows the language of the text selection or the text input position.
TXTextControl.WPF.TextControl.IsHyphenationEnabled Gets or sets a value indicating whether hyphenation is active or not.

Methods

Method Description
TXTextControl.DocumentServer.MailMerge.MergeObjects Merges a collection of type System.Collections.IEnumerable containing objects of any type or instances of type System.Collections.Generic.Dictionary with string keys into the loaded document template.
TXTextControl.Selection.ChangeDirection Changes the writing direction of all selected paragraphs.
TXTextControl.ServerTextControl.OnHyphenateWord Raises the HyphenateWord event.
TXTextControl.TextControl.LanguageDialog Invokes the built-in dialog box for setting the language of the selected text.
TXTextControl.TextControl.OnHyphenateWord Raises the HyphenateWord event.
TXTextControl.WPF.TextControl.LanguageDialog Invokes the built-in dialog box for setting the language of the selected text.
TXTextControl.WPF.TextControl.OnHyphenateWord Raises the HyphenateWord event.

Events

Event Description
TXTextControl.DocumentServer.MailMerge.ImageMerged Occurs when an image has been merged successfully.
TXTextControl.ServerTextControl.HyphenateWord Occurs, if a word does not fit on the line and must be hyphenated.
TXTextControl.TextControl.HyphenateWord Occurs, if a word does not fit in the line and must be hyphenated.
TXTextControl.WPF.TextControl.HyphenateWord Occurs, if a word does not fit in the line and must be hyphenated.