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.Fields.NextIfField.Expression1 Gets and sets the first expression text that should be compared.
TXTextControl.DocumentServer.Fields.NextIfField.Expression2 Gets and sets the second expression text that should be compared to Expression1.
TXTextControl.DocumentServer.Fields.NextIfField.FieldValue Gets or sets the field's value of the field that has been specified in Expression1.
TXTextControl.DocumentServer.Fields.NextIfField.Operator Gets and sets the comparison operator the field.
TXTextControl.DocumentServer.Fields.NextIfField.Result Gets the evaluation result of the two field expressions and the specified comparison operator.
TXTextControl.DocumentServer.MailMerge.ImageMergedEventArgs.ID Gets the ID of the merged image.
TXTextControl.DocumentServer.MailMerge.ImageMergedEventArgs.Image Gets or sets the merged image.
TXTextControl.DocumentServer.MailMerge.ImageMergedEventArgs.Name Gets the name of the merged image.
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.HyphenateWordEventArgs.Culture Gets the culture of the word to hyphenate.
TXTextControl.HyphenateWordEventArgs.DividePos Gets or sets the position at which the word should be divided.
TXTextControl.HyphenateWordEventArgs.MaxDividePos Gets the maximum dividing position.
TXTextControl.HyphenateWordEventArgs.Word Gets the word to hyphenate.
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.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.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.WPF.TextControl.HyphenateWord Occurs, if a word does not fit in the line and must be hyphenated.