New Classes, Properties, Methods and Events

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

Classes

Class Description
Javascript: TXTextControl.DocumentLoadedEventArgs The event argument object for the documentLoaded event.
Javascript: TXTextControl.FileDroppedEventArgs The event argument object for the fileDropped event.
Javascript: TXTextControl.SaveDocumentResult The callback function argument for the saveDocument and the saveSelection functions.
Javascript: TXTextControl.TextDroppedEventArgs The event argument object for the textDropped event.
Javascript: TXTextControl.TextFieldEventArgs The event argument object for text field related events.
Javascript: TXTextControl.TextPastedEventArgs The event argument object for the textPasted event.
TXTextControl.BookmarkDialog The BookmarkDialog class implements a Windows Forms dialog box to insert a DocumentTarget at the current input position.
TXTextControl.DataVisualization.DrawingCollection An instance of the DrawingCollection class contains all drawings in a document represented through objects of the type DataVisualization.DrawingFrame.
TXTextControl.DataVisualization.DrawingEventArgs The DrawingEventArgs class provides data for all events that occur with drawings.
TXTextControl.DataVisualization.DrawingFrame An instance of the DrawingFrame class represents a drawing and its layout in a Text Control document.
TXTextControl.DeleteBookmarksDialog The DeleteBookmarksDialog class implements a Windows Forms dialog box which shows all targets in the current document.
TXTextControl.DocumentServer.DataSources.IDataRowAdapter The IDataRowAdapter interface contains properties and methods implemented by data row instances used in the BlockMerging event.
TXTextControl.DocumentServer.DataSources.IDataTableAdapter The IDataTableAdapter interface contains properties and methods implemented by data table instances used in the BlockMerging event.
TXTextControl.DocumentServer.MailMerge.BlockMergingEventArgs The BlockMergingEventArgs class provides data for the BlockMerging event.
TXTextControl.Drawing.MenuItem The Drawing.MenuItem class represents a bindable Windows Forms ToolStripMenuItem.
TXTextControl.Drawing.Selection The Drawing.Selection class represents all selected shapes.
TXTextControl.Drawing.Shape The Drawing.Shape class represents a shape which can be displayed inside the TX Drawing Control.
TXTextControl.Drawing.Shape.Fill The Drawing.Shape.Fill class determines the fill properties of a shape.
TXTextControl.Drawing.Shape.Outline The Drawing.Shape.Outline class determines the line properties of a shape.
TXTextControl.Drawing.ShapeCollection An instance of the ShapeCollection class contains all displayed shapes represented through objects of type Shape.
TXTextControl.Drawing.ShapeEventArgs The ShapeEventArgs class provides data for all events that occur with shapes.
TXTextControl.Drawing.ShapesContextMenuStrip The Drawing.ShapesContextMenuStrip class represents the default context menu of the Windows Forms TXDrawingControl.
TXTextControl.Drawing.TXDrawingControl The TXDrawingControl class implements a Windows Forms control with features to draw custom or predefined shapes.
TXTextControl.GotoDialog The GotoDialog class implements a Windows Forms dialog box which can be used to move the current input position to a certain page, section, line, table or bookmark.
TXTextControl.HyperlinkDialog The HyperlinkDialog class implements a Windows Forms dialog box for inserting and editing a hyperlink at the current text input position.
TXTextControl.SubTextPart A SubTextPart object represents a user-defined part of a TX Text Control document.
TXTextControl.SubTextPartCollection Contains all subtextparts in the main text or another main part of a document.
TXTextControl.SubTextPartEventArgs The SubTextPartEventArgs class provides data for the SubTextPartClicked, SubTextPartCreated, SubTextPartDeleted, SubTextPartDoubleClicked, SubTextPartEntered and SubTextPartLeft events.
TXTextControl.WPF.Drawing.ShapesContextMenu The WPF.Drawing.ShapesContextMenu class represents the default context menu of the WPF TXDrawingControl.
TXTextControl.WPF.Drawing.TXDrawingControl The WPF.TXDrawingControl class implements a WPF FrameworkElement with features to draw custom or predefined shapes.

Properties

Property Description
Javascript: TXTextControl.isLoadingDialogEnabled Gets or sets if a wait dialog is shown while a document is being loaded.
TXTextControl.DocumentServer.MailMerge.ImageMergedEventArgs.Merged Gets a boolean value that indicates whether the current image has been merged successfully or not.
TXTextControl.DocumentServer.MailMerge.RemoveEmptyBlocks Specifies whether the content of empty merge blocks should be removed from the template or not.
TXTextControl.DocumentServer.MailMerge.RemoveEmptyImages Specifies whether images which don't have merge data should be removed from the template or not.
TXTextControl.DocumentServer.Web.DocumentViewer.PageAnimationDuration Gets or sets the duration of the page animations in seconds.
TXTextControl.DocumentServer.Web.DocumentViewer.PageAnimations Specifies whether CSS transition animations should be used or not when navigating through pages.
TXTextControl.DocumentServer.Web.DocumentViewer.RoundedPageCorners Specifies whether rounded document page corners should be used or not.
TXTextControl.DocumentServer.Web.DocumentViewer.ShowEditButton Specifies whether the edit button is shown or not.
TXTextControl.HeaderFooter.Barcodes Gets a collection of all barcodes contained in a header or footer.
TXTextControl.HeaderFooter.Charts Gets a collection of all charts contained in a header or footer.
TXTextControl.HeaderFooter.DocumentLinks Gets a collection of all links in a header or footer which point to targets in the same document.
TXTextControl.HeaderFooter.DocumentTargets Gets a collection of all targets in a header or footer.
TXTextControl.HeaderFooter.Drawings Gets a collection of all drawings contained in a header or footer.
TXTextControl.HeaderFooter.Frames Gets a collection of all images, textframes, charts, barcodes and drawings in a header or footer.
TXTextControl.HeaderFooter.SubTextParts Gets a collection of all subtextparts in the header or footer.
TXTextControl.IFormattedText.Barcodes Gets a collection of all barcodes.
TXTextControl.IFormattedText.DocumentLinks Gets a collection of all links which point to targets in the same document.
TXTextControl.IFormattedText.DocumentTargets Gets a collection of all targets.
TXTextControl.IFormattedText.Drawings Gets a collection of all drawings.
TXTextControl.IFormattedText.Frames Gets a collection of all images, textframes, charts, barcodes and drawings.
TXTextControl.IFormattedText.SubTextParts Gets a collection of all subtextparts.
TXTextControl.ListFormat.FontName Gets or sets the font used for the bullet character.
TXTextControl.LoadSettings.Author Gets the document's author.
TXTextControl.LoadSettings.CreationDate Gets the document's creation date.
TXTextControl.LoadSettings.CreatorApplication Gets the application, which has created the document.
TXTextControl.LoadSettings.DocumentKeywords Gets the document's keywords.
TXTextControl.LoadSettings.DocumentSubject Gets the document's subject string.
TXTextControl.LoadSettings.LastModificationDate Gets the date the document is last modified.
TXTextControl.LoadSettings.LoadSubTextParts DOCX Format only: Specifies whether or not bookmarks which extend over several characters are converted to SubTextParts.
TXTextControl.MainText.Barcodes Gets a collection of all barcodes contained in the main text of the document.
TXTextControl.MainText.Charts Gets a collection of all charts contained in the main text of the document.
TXTextControl.MainText.DocumentLinks Gets a collection of all links in the main text of the document which point to targets in the same document.
TXTextControl.MainText.DocumentTargets Gets a collection of all targets in the main text of the document.
TXTextControl.MainText.Drawings Gets a collection of all drawings contained in the main text of the document.
TXTextControl.MainText.Frames Gets a collection of all images, textframes, charts, barcodes and drawings contained in the main text of the document.
TXTextControl.MainText.SubTextParts Gets a collection of all subtextparts contained in the main text of the document.
TXTextControl.SaveSettings.Author Sets the document's author which will be saved in the document.
TXTextControl.SaveSettings.CreationDate Sets the document's creation date which will be saved in the document.
TXTextControl.SaveSettings.CreatorApplication Sets the application, which has created the document.
TXTextControl.SaveSettings.DocumentKeywords Sets the document's keywords which will be saved in the document.
TXTextControl.SaveSettings.DocumentSubject Sets the document's subject string which will be saved in the document.
TXTextControl.SaveSettings.LastModificationDate Sets the date the document is last modified.
TXTextControl.ServerTextControl.Drawings Gets a collection of all drawings in a document.
TXTextControl.ServerTextControl.SubTextParts Gets a collection of all subtextparts contained in the document.
TXTextControl.ServerVisualization.TextViewGenerator.DrawingMarkerLines Specifies whether a marker frame is shown around a drawing to indicate its position and size.
TXTextControl.ServerVisualization.TextViewGenerator.RedoActionName Gets a string that represents the name of the action that will be performed when a call to the Redo method is made.
TXTextControl.ServerVisualization.TextViewGenerator.UndoActionName Gets a string that represents the name of the action that will be performed when a call to the Undo method is made.
TXTextControl.TextControl.DrawingMarkerLines Specifies whether a marker frame is shown around a drawing to indicate its position and size.
TXTextControl.TextControl.Drawings Gets a collection of all drawings contained in the text part with the input focus.
TXTextControl.TextControl.SubTextParts Gets a collection of all subtextparts contained in the text part with the input focus.
TXTextControl.TextFrame.Barcodes Gets a collection of all barcodes contained in a text frame.
TXTextControl.TextFrame.Charts Gets a collection of all charts contained in a text frame.
TXTextControl.TextFrame.DocumentLinks Gets a collection of all links in a text frame which point to targets in the same document.
TXTextControl.TextFrame.DocumentTargets Gets a collection of all targets in a text frame.
TXTextControl.TextFrame.Drawings Gets a collection of all drawings contained in a text frame.
TXTextControl.TextFrame.Frames Gets a collection of all images, textframes, charts, barcodes and drawings in a text frame.
TXTextControl.TextFrame.SubTextParts Gets a collection of all subtextparts in a text frame.
TXTextControl.Web.TextControl.Culture Gets or sets the control's culture.
TXTextControl.Web.TextControl.FormattingPrinter Gets or sets the name of a printer the text dimensions and capabilities of which are used to format the document.
TXTextControl.Web.TextControl.ServiceAddress Gets or sets the IP address at which the websocket handler tries to connect to the Service.
TXTextControl.Web.TextControl.ServicePort Gets or sets the Port at which the websocket handler tries to connect to the Service.
TXTextControl.Web.TextControl.UICulture Gets or sets the control's user interface culture.
TXTextControl.WPF.TextControl.DrawingMarkerLines Specifies whether a marker frame is shown around a drawing to indicate its position and size.
TXTextControl.WPF.TextControl.Drawings Gets a collection of all drawings contained in the text part with the input focus.
TXTextControl.WPF.TextControl.SubTextParts Gets a collection of all subtextparts contained in the text part with the input focus.

Methods

Method Description
Javascript: TXTextControl.loadSelection Loads text in a certain format into the current selection.
Javascript: TXTextControl.resetContents Deletes the entire contents of the control.
Javascript: TXTextControl.saveDocument Saves the current document in a certain format and sends the result back asynchronously by calling a given callback function.
Javascript: TXTextControl.saveSelection Saves the current selection in a certain format and sends the result back asynchronously by calling a given callback function.
TXTextControl.DocumentServer.MailMerge.MergeObject Merges a single instance of an arbitrary type into the loaded document template.
TXTextControl.ServerTextControl.OnDrawingCreated Raises the DrawingCreated event.
TXTextControl.ServerTextControl.OnDrawingDeleted Raises the DrawingDeleted event.
TXTextControl.ServerVisualization.TextViewGenerator.BeginUndoAction Begins a user-defined undo operation.
TXTextControl.ServerVisualization.TextViewGenerator.EndUndoAction Ends a user-defined undo operation.
TXTextControl.ServerVisualization.TextViewGenerator.OnDrawingDeselected Raises the DrawingDeselected event.
TXTextControl.ServerVisualization.TextViewGenerator.OnDrawingSelected Raises the DrawingSelected event.
TXTextControl.ServerVisualization.TextViewGenerator.OnSubTextPartClicked Raises the SubTextPartClicked event.
TXTextControl.ServerVisualization.TextViewGenerator.OnSubTextPartDoubleClicked Raises the SubTextPartDoubleClicked event.
TXTextControl.ServerVisualization.TextViewGenerator.OnSubTextPartEntered Raises the SubTextPartEntered event.
TXTextControl.ServerVisualization.TextViewGenerator.OnSubTextPartLeft Raises the SubTextPartLeft event.
TXTextControl.ServerVisualization.TextViewGenerator.OnTextFieldClicked Raises the TextFieldClicked event.
TXTextControl.ServerVisualization.TextViewGenerator.OnTextFieldEntered Raises the TextFieldEntered event.
TXTextControl.ServerVisualization.TextViewGenerator.OnTextFieldLeft Raises the TextFieldLeft event.
TXTextControl.TextCharCollection.Add Adds a character to the document.
TXTextControl.TextCharCollection.Remove Removes a character from a Text Control document.
TXTextControl.TextControl.AddSymbolDialog Invokes a built-in dialog box for inserting symbol characters.
TXTextControl.TextControl.BeginUndoAction Begins a user-defined undo operation.
TXTextControl.TextControl.DrawingLayoutDialog Invokes the built-in dialog box for alter the layout settings, the size and the text distances of a drawing.
TXTextControl.TextControl.EndUndoAction Ends a user-defined undo operation.
TXTextControl.TextControl.OnDrawingActivated Raises the DrawingActivated event.
TXTextControl.TextControl.OnDrawingClicked Raises the DrawingClicked event.
TXTextControl.TextControl.OnDrawingCreated Raises the DrawingCreated event.
TXTextControl.TextControl.OnDrawingDeactivated Raises the DrawingDeactivated event.
TXTextControl.TextControl.OnDrawingDeleted Raises the DrawingDeleted event.
TXTextControl.TextControl.OnDrawingDeselected Raises the DrawingDeselected event.
TXTextControl.TextControl.OnDrawingDoubleClicked Raises the DrawingDoubleClicked event.
TXTextControl.TextControl.OnDrawingMoved Raises the DrawingMoved event.
TXTextControl.TextControl.OnDrawingRightClicked Raises the DrawingRightClicked event.
TXTextControl.TextControl.OnDrawingSelected Raises the DrawingSelected event.
TXTextControl.TextControl.OnDrawingSized Raises the DrawingSized event.
TXTextControl.TextControl.OnSubTextPartClicked Raises the SubTextPartClicked event.
TXTextControl.TextControl.OnSubTextPartDoubleClicked Raises the SubTextPartDoubleClicked event.
TXTextControl.TextControl.OnSubTextPartEntered Raises the SubTextPartEntered event.
TXTextControl.TextControl.OnSubTextPartLeft Raises the SubTextPartLeft event.
TXTextControl.TextFrameCollection.GetActivatedItem Returns the currently activated text frame.
TXTextControl.Web.TextControl.ResetContents Deletes the entire contents of the control.
TXTextControl.WPF.TextControl.AddSymbolDialog Invokes a built-in dialog box for inserting symbol characters.
TXTextControl.WPF.TextControl.BeginUndoAction Begins a user-defined undo operation.
TXTextControl.WPF.TextControl.DrawingLayoutDialog Invokes the built-in dialog box for alter the layout settings, the size and the text distances of a drawing.
TXTextControl.WPF.TextControl.EndUndoAction Ends a user-defined undo operation.
TXTextControl.WPF.TextControl.OnDrawingActivated Raises the DrawingActivated event.
TXTextControl.WPF.TextControl.OnDrawingClicked Raises the DrawingClicked event.
TXTextControl.WPF.TextControl.OnDrawingCreated Raises the DrawingCreated event.
TXTextControl.WPF.TextControl.OnDrawingDeactivated Raises the DrawingDeactivated event.
TXTextControl.WPF.TextControl.OnDrawingDeleted Raises the DrawingDeleted event.
TXTextControl.WPF.TextControl.OnDrawingDeselected Raises the DrawingDeselected event.
TXTextControl.WPF.TextControl.OnDrawingDoubleClicked Raises the DrawingDoubleClicked event.
TXTextControl.WPF.TextControl.OnDrawingMoved Raises the DrawingMoved event.
TXTextControl.WPF.TextControl.OnDrawingRightClicked Raises the DrawingRightClicked event.
TXTextControl.WPF.TextControl.OnDrawingSelected Raises the DrawingSelected event.
TXTextControl.WPF.TextControl.OnDrawingSized Raises the DrawingSized event.
TXTextControl.WPF.TextControl.OnSubTextPartClicked Raises the SubTextPartClicked event.
TXTextControl.WPF.TextControl.OnSubTextPartDoubleClicked Raises the SubTextPartDoubleClicked event.
TXTextControl.WPF.TextControl.OnSubTextPartEntered Raises the SubTextPartEntered event.
TXTextControl.WPF.TextControl.OnSubTextPartLeft Raises the SubTextPartLeft event.

Events

Event Description
TXTextControl.DocumentServer.MailMerge.BlockMerging Occurs when a merge block is about to be merged.
TXTextControl.ServerTextControl.DrawingCreated Occurs when a new drawing has been created.
TXTextControl.ServerTextControl.DrawingDeleted Occurs when a drawing has been deleted.
TXTextControl.ServerVisualization.TextViewGenerator.DrawingDeselected Occurs when a drawing has been deselected.
TXTextControl.ServerVisualization.TextViewGenerator.DrawingSelected Occurs when a drawing has been selected.
TXTextControl.ServerVisualization.TextViewGenerator.SubTextPartClicked Occurs when a subtextpart has been clicked on.
TXTextControl.ServerVisualization.TextViewGenerator.SubTextPartDoubleClicked Occurs when a subtextpart has been double-clicked on.
TXTextControl.ServerVisualization.TextViewGenerator.SubTextPartEntered Occurs when the current input position has been moved to a position that belongs to a subtextpart.
TXTextControl.ServerVisualization.TextViewGenerator.SubTextPartLeft Occurs when the current input position has left a subtextpart.
TXTextControl.ServerVisualization.TextViewGenerator.TextControl.TextFieldClicked Occurs when a text field has been clicked on.
TXTextControl.ServerVisualization.TextViewGenerator.TextFieldEntered Occurs when the current input position has been moved to a position that belongs to a text field.
TXTextControl.ServerVisualization.TextViewGenerator.TextFieldLeft Occurs when the current input position has left a text field.
TXTextControl.TextControl.DrawingActivated Occurs when a drawing has been activated.
TXTextControl.TextControl.DrawingClicked Occurs when a drawing has been clicked on.
TXTextControl.TextControl.DrawingCreated Occurs when a new drawing has been created.
TXTextControl.TextControl.DrawingDeactivated Occurs when a drawing has been deactivated.
TXTextControl.TextControl.DrawingDeleted Occurs when a drawing has been deleted.
TXTextControl.TextControl.DrawingDeselected Occurs when a drawing has been deselected.
TXTextControl.TextControl.DrawingDoubleClicked Occurs when a drawing has been doubleclicked on.
TXTextControl.TextControl.DrawingMoved Occurs when a drawing has been moved.
TXTextControl.TextControl.DrawingRightClicked Occurs when a drawing has been clicked on with the right mouse button.
TXTextControl.TextControl.DrawingSelected Occurs when a drawing has been selected.
TXTextControl.TextControl.DrawingSized Occurs when a drawing has been sized.
TXTextControl.TextControl.SubTextPartClicked Occurs when a subtextpart has been clicked on.
TXTextControl.TextControl.SubTextPartDoubleClicked Occurs when a subtextpart has been double-clicked on.
TXTextControl.TextControl.SubTextPartEntered Occurs when the current input position has been moved to a position that belongs to a subtextpart.
TXTextControl.TextControl.SubTextPartLeft Occurs when the current input position has left a subtextpart.
TXTextControl.WPF.TextControl.DrawingActivated Occurs when a drawing has been activated.
TXTextControl.WPF.TextControl.DrawingClicked Occurs when a drawing has been clicked on.
TXTextControl.WPF.TextControl.DrawingCreated Occurs when a new drawing has been created.
TXTextControl.WPF.TextControl.DrawingDeactivated Occurs when a drawing has been deactivated.
TXTextControl.WPF.TextControl.DrawingDeleted Occurs when a drawing has been deleted.
TXTextControl.WPF.TextControl.DrawingDeselected Occurs when a drawing has been deselected.
TXTextControl.WPF.TextControl.DrawingDoubleClicked Occurs when a drawing has been doubleclicked on.
TXTextControl.WPF.TextControl.DrawingMoved Occurs when a drawing has been moved.
TXTextControl.WPF.TextControl.DrawingRightClicked Occurs when a drawing has been clicked on with the right mouse button.
TXTextControl.WPF.TextControl.DrawingSelected Occurs when a drawing has been selected.
TXTextControl.WPF.TextControl.DrawingSized Occurs when a drawing has been sized.
TXTextControl.WPF.TextControl.SubTextPartClicked Occurs when a subtextpart has been clicked on.
TXTextControl.WPF.TextControl.SubTextPartDoubleClicked Occurs when a subtextpart has been double-clicked on.
TXTextControl.WPF.TextControl.SubTextPartEntered Occurs when the current input position has been moved to a position that belongs to a subtextpart.
TXTextControl.WPF.TextControl.SubTextPartLeft Occurs when the current input position has left a subtextpart.