New Classes, Properties, Methods and Events for ASP.NET

In TX Text Control 24.0 for ASP.NET the following new classes, properties, methods and events have been added:

Classes

Class Description
Javascript: TXTextControl.CultureSettings An object of this type is returned by the function getCultures.
Javascript: TXTextControl.HyperlinkClickedEventArgs The event argument object for the hyperlinkClicked event.
Javascript: TXTextControl.InputPositionChangedEventArgs The event argument object for the inputPositionChanged event.
Javascript: TXTextControl.Ribbon The type of the ribbon property of the TXTextControl object.
Javascript: TXTextControl.RibbonTabIndexChangedEventArgs The event argument object for the ribbonTabIndexChanged event.
Javascript: TXTextControl.Selection Describes and handles the position and length of a text selection.
Javascript: TXTextControl.SelectionBounds Is used with the setter of the selection property of the TextPart object.
Javascript: TXTextControl.SubTextPartEventArgs The event argument for the SubTextPart related events.
Javascript: TXTextControl.TextPart The callback function argument for the getTextParts function.
Javascript: TXTextControl.WebSocketClosedEventArgs The event argument object for the webSocketClosed event.
TXTextControl.DocumentServer.DataSources.DataColumnInfo The DataColumnInfo class provides basic information about a table column in a data source.
TXTextControl.DocumentServer.DataSources.DataColumnInfoCollection An instance of the DataColumnInfoCollection class contains all data columns of a data table in a data source represented through objects of the type DataColumnInfo.
TXTextControl.DocumentServer.DataSources.DataRelationInfo The DataRelationInfo class provides all necessary information about parent-child-relations between data tables.
TXTextControl.DocumentServer.DataSources.DataRelationInfoCollection An instance of the DataRelationInfoCollection class contains all data relations in a data source represented through objects of the type DataRelationInfo.
TXTextControl.DocumentServer.DataSources.DataSourceManager The DataSourceManager class is designed for handling all existing kinds of data sources which can be used together with the MailMerge class.
TXTextControl.DocumentServer.DataSources.DataTableInfo The DataTableInfo class provides basic information about a data table in a data source.
TXTextControl.DocumentServer.DataSources.DataTableInfoCollection An instance of the DataTableInfoCollection class contains all data tables in a data source represented through objects of the type DataTableInfo.
TXTextControl.DocumentServer.DataSources.MergeBlockInfo The MergeBlockInfo class is used to insert a table or paragraph based repeating merge block into a TextControl instance using the DataSourceManager.InsertMergeBlock method.
TXTextControl.DocumentServer.DataSources.MergeBlockSettings The MergeBlockSettings class is used to insert a table or paragraph based repeating merge block into a TextControl instance using the DataSourceManager.InsertMergeBlock method.
TXTextControl.DocumentServer.Json.InvalidCodePointException Is thrown when calling the method MailMerge.MergeJsonData with a JSON string containing an invalid hexadecimal unicode code point.
TXTextControl.DocumentServer.Json.InvalidNumberFormatException Is thrown when calling the method MailMerge.MergeJsonData with a JSON string containing a number with an invalid number format.
TXTextControl.DocumentServer.Json.ParserException Base class of all JSON parser related exceptions which can be thrown when calling method MailMerge.MergeJsonData with an incorrect JSON string.
TXTextControl.DocumentServer.Json.UnexpectedEndOfInputException Is thrown when calling the method MailMerge.MergeJsonData with an incomplete JSON string.
TXTextControl.DocumentServer.Json.UnexpectedTokenException Is thrown when calling the method MailMerge.MergeJsonData with a JSON string containing an unexpected character.
TXTextControl.DocumentServer.Json.UnknownLiteralNameTokenException Is thrown when calling the method MailMerge.MergeJsonData with a JSON string containing an unknown character sequence at a position where one of the strings "true", "false" or "null" are expected.
TXTextControl.DocumentServer.Json.UnknownParseErrorException Is thrown when calling the method MailMerge.MergeJsonData and the internal JSON parser encounters an unknown error.
TXTextControl.Drawing.ViewChangedEventArgs The ViewChangedEventArgs class provides data for the TXDrawingControl.ViewChanged event.
TXTextControl.FilterException The FilterException class informs about errors which can occur when a text filter is used to convert a document to or from another format.
TXTextControl.FrameEventArgs The FrameEventArgs class provides data for all events that occur with frames.
TXTextControl.LicenseLevelException A LicenseLevelException is thrown when a feature is not contained in the currently licensed product level.
TXTextControl.PaperSize The PaperSize class is used with the TextControl.GetSupportedPaperSizes and WPF.TextControl.GetSupportedPaperSizes methods, which return the names and the sizes of all currently supported paper sizes.
TXTextControl.ServerVisualization.ViewChangedEventArgs The ViewChangedEventArgs class provides data for the View.Changed event.
TXTextControl.TextEditorException The TextEditorException class informs about errors which can occur during editing text.
TXTextControl.UserDefinedPropertyDictionary An instance of the UserDefinedPropertyDictionary class contains all user-defined document properties contained in a loaded document or which will be saved in a document.

Properties

Property Description
Javascript: TXTextControl.contextMenusEnabled Gets or sets if a right click into the text area opens a context menu or not.
Javascript: TXTextControl.controlChars Gets or sets if control characters are visible.
Javascript: TXTextControl.documentTargetMarkers Gets or sets if document target markers are visible.
Javascript: TXTextControl.editMode Gets or sets the edit mode the control is in.
Javascript: TXTextControl.isHyphenationEnabled Gets or sets a value indicating whether hyphenation is active or not.
Javascript: TXTextControl.isLanguageDetectionEnabled Gets or sets a value indicating whether language detection is active or not.
Javascript: TXTextControl.isSpellCheckingEnabled Gets or sets a value indicating whether spell checking is active or not.
Javascript: TXTextControl.ribbon Gets the control's ribbon bar object.
Javascript: TXTextControl.saveDocumentQuestionDialogEnabled Gets or sets if a confirmation dialog should be shown before discarding unsaved changes.
Javascript: TXTextControl.selection Gets the current selection.
Javascript: TXTextControl.tableGridLines Gets or sets if table grid lines are visible.
Javascript: TXTextControl.textFieldsEditable Gets or sets if text fields are editable or not.
Javascript: TXTextControl.textFrameMarkerLines Gets or sets if text frame marker lines are visible.
TXTextControl.DocumentServer.MailMerge.DataRowMergedEventArgs.DataRow Gets the current data row's content.
TXTextControl.DocumentServer.MailMerge.FieldMergedEventArgs.DataRow Gets the data row which is used to supply the current field with merge content.
TXTextControl.DocumentServer.MailMerge.FieldMergedEventArgs.MergeBlockName If the merge field is part of a merge block, this property returns the name of the block.
TXTextControl.DocumentServer.MailMerge.FieldMergedEventArgs.NestingDepth If the merge field is part of a merge block, this property returns the one-based nesting depth of the block.
TXTextControl.DocumentServer.MailMerge.FieldMergedEventArgs.TableCell If the merge field is inside of a table, this property returns the containing table cell as a TXTextControl.TableCell instance or null otherwise.
TXTextControl.DocumentServer.MailMerge.ImageFieldMergedEventArgs.MergeBlockName If the image field is part of a merge block, this property returns the name of the block.
TXTextControl.DocumentServer.MailMerge.ImageFieldMergedEventArgs.NestingDepth If the image field is part of a merge block, this property returns the one-based nesting depth of the block.
TXTextControl.DocumentServer.MailMerge.ImageFieldMergedEventArgs.TableCell If the image field is inside of a table, this property returns the containing table cell as a TXTextControl.TableCell instance or null otherwise.
TXTextControl.DocumentServer.MailMerge.ImageMergedEventArgs.DataRow Gets the data row which is used to supply the current image with merge content.
TXTextControl.DocumentServer.MailMerge.ImageMergedEventArgs.MergeBlockName If the image is part of a merge block, this property returns the name of the block.
TXTextControl.DocumentServer.MailMerge.ImageMergedEventArgs.NestingDepth If the image is part of a merge block, this property returns the one-based nesting depth of the block.
TXTextControl.DocumentServer.MailMerge.MergeBlockNamePrefix A static property returning the internal merge block name prefix “txmb_”.
TXTextControl.FormattingStyle.BaseStyle Gets the FormattingStyle which is the base style of this style.
TXTextControl.InputFormat.BottomAligned Gets or sets a value specifying whether text is bottom aligned at the current input position.
TXTextControl.InputFormat.FrameFillColor Gets or sets the color used to display the frame fill color at the current input position.
TXTextControl.InputFormat.FrameLineColor Gets or sets the color used to display the color of frame lines at the current text input position.
TXTextControl.InputFormat.FrameLineWidth Gets or sets the line width, in twips, of the paragraph's or table's frame at the current input position.
TXTextControl.InputFormat.TopAligned Gets or sets a value specifying whether text is top aligned at the current input position.
TXTextControl.InputFormat.VerticallyCentered Gets or sets a value specifying whether text is vertically centered at the current text input position.
TXTextControl.LoadSettings.DocumentAccessPermissions Specifies how a document can be accessed after it has been loaded.
TXTextControl.LoadSettings.LoadDocumentBackColor Specifies whether or not the document background color is loaded.
TXTextControl.LoadSettings.MasterPassword Specifies the password when the document is restricted with access permissions.
TXTextControl.LoadSettings.ReportingMergeBlockFormat Specifies how reporting merge blocks are handled when a document is loaded.
TXTextControl.LoadSettings.UserDefinedDocumentProperties Gets a dictionary with all user-defined document properties contained in the loaded document.
TXTextControl.LoadSettings.UserPassword Specifies the password for the user to open a password protected document.
TXTextControl.ParagraphFormat.BackColor Gets or sets the background color of a paragraph.
TXTextControl.ParagraphFormat.FrameLineColor Gets or sets the color used for the frame lines of a paragraph.
TXTextControl.SaveSettings.ReportingMergeBlockFormat Specifies how reporting merge blocks are handled when a document is saved.
TXTextControl.SaveSettings.SaveDocumentBackColor Specifies whether or not the document background color is saved.
TXTextControl.SaveSettings.UserDefinedDocumentProperties Sets a dictionary with all user-defined document properties which will be saved in the document.
TXTextControl.ServerVisualization.RulerBarViewGenerator.ReadOnly Gets or sets a value determining the ruler bar's read only mode.
TXTextControl.ServerVisualization.TextViewGenerator.AllowDrag Gets or sets a value indicating whether the view generator can be a source of a Drag&Drop operation.
TXTextControl.ServerVisualization.TextViewGenerator.AllowDrop Gets or sets a value indicating whether the view generator can accept data that the user drags onto it.

Methods

Method Description
Javascript: TXTextControl.getBackColor Returns the background color of the main text area and the ruler bars by calling a provided callback function.
Javascript: TXTextControl.getCultures Returns the culture and the UI culture of the control.
Javascript: TXTextControl.getFileDirectory Requests the directory path where the files of a specific file type are stored on the web server.
Javascript: TXTextControl.getFormattingPrinter Returns the name of the currently selected formatting printer by calling a provided callback function.
Javascript: TXTextControl.getInstalledPrinters Gets the names of the printers installed on the server which are usable by Text Control.
Javascript: TXTextControl.getStatusBarColor Returns the background color of the status bar by calling a provided callback function.
Javascript: TXTextControl.getTextParts Requests a collection of either all text parts the current document contains or only the text part containing the input position from the server and returns the collection by calling a callback function which has to be provided as a parameter to the function.
Javascript: TXTextControl.loadXMLDatabase Loads an XML database which is used to create table and field name menu items in the mailings ribbon tab.
Javascript: TXTextControl.removeFromDom The removeFromDom method closes the WebSocket connection gracefully and removes the whole editor from the DOM.
Javascript: TXTextControl.setBackColor Sets the background color of the main text area and the ruler bars.
Javascript: TXTextControl.setFileDirectory Sets the directory path where the files of a specific file type are stored on the web server.
Javascript: TXTextControl.setFormattingPrinter Sets the name of a printer the text dimensions and capabilities of which are used to format the document.
Javascript: TXTextControl.setStatusBarColor Sets the background color of the status bar.
TXTextControl.DocumentServer.MailMerge.MergeJsonData Merges data given as a JSON string into a document template.
TXTextControl.HeaderFooter.GetTextFields Returns a collection containing text fields of the specified types.
TXTextControl.IFormattedText.GetTextFields Returns a collection containing text fields of the specified types.
TXTextControl.MainText.GetTextFields Returns a collection containing text fields of the specified types.
TXTextControl.PageNumberFieldCollection.GetItem Gets a particular page number field from the collection.
TXTextControl.Selection.RemoveInlineStyles Removes all character based styles of the selected text so that all attributes are reset to the attributes of the paragraph style.
TXTextControl.ServerTextControl.GetSupportedPaperSizes Gets an array of PaperSize structures specifying the names and the size of all currently supported paper sizes.
TXTextControl.ServerTextControl.GetTextFields Returns a collection containing text fields of the specified types.
TXTextControl.ServerTextControl.OnDocumentLoaded Raises the DocumentLoaded event.
TXTextControl.ServerVisualization.TextViewGenerator.OnFrameDeselected Raises the FrameDeselected event.
TXTextControl.ServerVisualization.TextViewGenerator.OnFrameSelected Raises the FrameSelected event.
TXTextControl.ServerVisualization.TextViewGenerator.Zoom Zooms the contents of the TextViewGenerator.
TXTextControl.ServerVisualization.View.GetUpdateRectangle Returns the coordinates of the smallest rectangle that completely encloses the update region.
TXTextControl.TextFrame.GetTextFields Returns a collection containing text fields of the specified types.
TXTextControl.Web.TextControl.LoadDataFromJson Uses data given as a JSON string as a data source.
TXTextControl.Web.TextControl.LoadDataFromJsonAsync Uses data given as a JSON string as a data source.
TXTextControl.Web.TextControl.LoadDataFromModel Loads a collection implementing interface System.Collections.IEnumerable as a data source.
TXTextControl.Web.TextControl.LoadDataFromModelAsync Loads a collection implementing interface System.Collections.IEnumerable as a data source.

Events

Event Description
TXTextControl.ServerTextControl.DocumentLoaded Occurs when a new document has been loaded.
TXTextControl.ServerVisualization.TextViewGenerator.FrameDeselected Occurs when a frame (image, text frame, chart, barcode or drawing) has been deselected.
TXTextControl.ServerVisualization.TextViewGenerator.FrameSelected Occurs when a frame (image, text frame, chart, barcode or drawing) has been selected.