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

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

Classes

Class Description
Javascript: TXTextControl.ApplicationField Represents a Text Control ApplciationField.
Javascript: TXTextControl.ClipboardMode Determines the clipboard mode.
Javascript: TXTextControl.ClipboardModeChangedEventArgs The event argument object for the clipboardModeChanged event.
Javascript: TXTextControl.ClipboardTransferAbortedEventArgs The event argument object for the clipboardDataTransferAborted event.
Javascript: TXTextControl.ClipboardTransferCompleteEventArgs The event argument object for the clipboardDataTransferComplete event.
Javascript: TXTextControl.ClipboardTransferProgressEventArgs The event argument object for the clipboardDataTransferProgress event.
Javascript: TXTextControl.ClipboardTransferStartEventArgs The event argument object for the clipboardDataTransferStart event.
Javascript: TXTextControl.Color Represents an ARGB (alpha, red, green, blue) color.
Javascript: TXTextControl.DateField Represents an MS Word specific DATEFIELD field.
Javascript: TXTextControl.DocumentPermissions The type of the documentPermissions property.
Javascript: TXTextControl.FieldType Determines the possible MS Word specific merge field types supported by the TX Text Control JavaScript API.
Javascript: TXTextControl.HighlightMode Contains all possible values for property highlightMode of class SubTextPart.
Javascript: TXTextControl.HorizontalAlignment Determines values for the horizontal alignment of the text or of text frames, images and charts.
Javascript: TXTextControl.IfField Represents an MS Word specific IFFIELD field.
Javascript: TXTextControl.ImageCollection The type of the images property.
Javascript: TXTextControl.ImageInsertionMode Determines how an Image can be inserted in the text.
Javascript: TXTextControl.IncludeTextField Represents an MS Word specific INCLUDETEXT field.
Javascript: TXTextControl.MergeField Represents an MS Word specific MERGEFIELD field.
Javascript: TXTextControl.MergeFieldTextFormat Determines the possible text formats for merge fields containing text.
Javascript: TXTextControl.NextField Represents an MS Word specific NEXT field.
Javascript: TXTextControl.NextIfField Represents an MS Word specific NEXTIF field.
Javascript: TXTextControl.Point Represents a pair of x- and y-coordinates that defines a point in a two-dimensional plane.
Javascript: TXTextControl.Proofing A JavaScript object which was introduced to act as a namespace for all proofing and spell checking methods and properties.
Javascript: TXTextControl.Rectangle Stores a Point and a Size object that represent the location and size of a rectangle.
Javascript: TXTextControl.RelationalOperator Determines the relational operator used by some types of merge fields.
Javascript: TXTextControl.RibbonPermissionsTab The type of the ribbonPermissionsTab property.
Javascript: TXTextControl.Size Stores a pair of numbers which specify a height and width.
Javascript: TXTextControl.SpecialZoomFactor Determines the special zoom factor values for property TXTextControl.zoomFactor.
Javascript: TXTextControl.SubTextPart The callback function argument for the getSubTextParts function.
Javascript: TXTextControl.TextField Represents a Text Control TextField.
Javascript: TXTextControl.TextFrameCollection The type of the textFrames property.
Javascript: TXTextControl.TextFrameInsertionMode Determines how a text frame can be inserted in the text.
Javascript: TXTextControl.TextViewLocationChangedEventArgs The event argument object for the textViewLocationChanged event.
Javascript: TXTextControl.UserDictionaryInfo This class contains read only information about a user dictionary.
Javascript: TXTextControl.ZoomFactorChangedEventArgs The event argument object for the zoomFactorChanged event.
TXTextControl.DocumentPermissions The DocumentPermissions class provides settings determining how the document can be edited, when the EditMode is changed from Edit to ReadAndSelect.
TXTextControl.EditableRegion An EditableRegion object represents an editable region in a TX Text Control document.
TXTextControl.EditableRegionCollection Contains all editable regions in the main text or another part of a document.
TXTextControl.EditableRegionEventArgs The EditableRegionEventArgs class provides data for the EditableRegionCreated, EditableRegionDeleted, EditableRegionEntered and EditableRegionLeft events.

Properties

Property Description
Javascript: TXTextControl.clipboardMode Gets or sets the clipboard mode (client or server).
Javascript: TXTextControl.documentPermissions Gets or sets the document permissions.
Javascript: TXTextControl.images Provides methods for adding images to the document.
Javascript: TXTextControl.ribbonPermissionsTab Returns the "Permissions" ribbon tab object.
Javascript: TXTextControl.textFrames Provides methods for adding text frames to the document.
Javascript: TXTextControl.zoomFactor Gets or sets the zoom factor, in percent, for a Text Control.
TXTextControl.FrameBase.Bounds Gets the frame's bounding rectangle relative to the upper left corner of the document.
TXTextControl.HeaderFooter.EditableRegions Gets a collection of all editable regions in the header or footer.
TXTextControl.IFormattedText.EditableRegions Gets a collection of all editable regions.
TXTextControl.ServerTextControl.EditableRegions Gets a collection of all editable regions contained in the document.
TXTextControl.ServerVisualization.TextViewGenerator.CanCharacterFormat Informs whether the currently selected text can be formatted with character formatting attributes.
TXTextControl.ServerVisualization.TextViewGenerator.CanDocumentFormat Informs whether the document can be formatted with page and section formatting attributes.
TXTextControl.ServerVisualization.TextViewGenerator.CanEdit Informs whether the document's text and/or formatting attributes can be changed.
TXTextControl.ServerVisualization.TextViewGenerator.CanParagraphFormat Informs whether the currently selected text can be formatted with paragraph formatting attributes.
TXTextControl.ServerVisualization.TextViewGenerator.CanPrint Informs whether the document can be printed.
TXTextControl.ServerVisualization.TextViewGenerator.CanStyleFormat Informs whether the document can be formatted with formatting styles.
TXTextControl.ServerVisualization.TextViewGenerator.CanTableFormat Informs whether the currently selected text can be formatted with table formatting attributes.
TXTextControl.ServerVisualization.TextViewGenerator.DocumentPermissions Gets a DocumentPermissions object which provides properties determining how a document can be edited and formatted when the EditMode property is set to EditMode.ReadAndSelect.
TXTextControl.ServerVisualization.TextViewGenerator.PermanentControlChars Gets or sets a value indicating which control characters are shown permanently.
TXTextControl.ServerVisualization.TextViewGenerator.SelectObjects Gets or sets a value controlling the selection of objects which are inserted behind the text.
TXTextControl.ServerVisualization.TextViewGenerator.UserNames Gets or sets a list of names specifying users who have access to editable regions.
TXTextControl.TextFrame.EditableRegions Gets a collection of all editable regions in the text frame.
TXTextControl.Web.TextControl.UserNames Gets or sets a list of names specifying users who have access to editable regions.

Methods

Method Description
Javascript: TXTextControl.addMergeField Inserts a merge field at the current input position.
Javascript: TXTextControl.addTextField Inserts a new ApplicationField or TextField at the current input position.
Javascript: TXTextControl.appendDocument Appends text in a certain format to the current document.
Javascript: TXTextControl.getSubTextParts Requests a collection of either all SubTextParts the current text part contains or only the SubTextPart 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.getTextFields Requests a collection of either all text fields the current text part contains or only the text field 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.printDocument Attempts to print the current document in the browser.
Javascript: TXTextControl.removeTextField The removeTextField method removes a text field from the document.
Javascript: TXTextControl.showMergeFieldDialog Opens a field dialog either for changing properties of an existing merge field or for creating a new merge field.
Javascript: TXTextControl.TextPart.addTextField Inserts a new ApplicationField or TextField into the TextPArt at the current input position.
Javascript: TXTextControl.TextPart.getSubTextParts Requests a collection of either all SubTextParts the current text part contains or only the SubTextPart 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.TextPart.getTextFields Requests a collection of either all text fields in the text part or only the text field 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.
TXTextControl.ServerTextControl.OnContentsReset Raises the ContentsReset event.
TXTextControl.ServerTextControl.OnEditableRegionCreated Raises the EditableRegionCreated event.
TXTextControl.ServerTextControl.OnEditableRegionDeleted Raises the EditableRegionDeleted event.
TXTextControl.ServerTextControl.OnSubTextPartCreated Raises the SubTextPartCreated event.
TXTextControl.ServerTextControl.OnSubTextPartDeleted Raises the SubTextPartDeleted event.
TXTextControl.ServerTextControl.SelectWord Selects the word at the current text input position.
TXTextControl.ServerVisualization.TextViewGenerator.OnEditableRegionEntered Raises the EditableRegionEntered event.
TXTextControl.ServerVisualization.TextViewGenerator.OnEditableRegionLeft Raises the EditableRegionLeft event.
TXTextControl.ServerVisualization.TextViewGenerator.OnFrameMoved Raises the FrameMoved event.
TXTextControl.ServerVisualization.TextViewGenerator.OnFrameSized Raises the FrameSized event.

Events

Event Description
TXTextControl.ServerTextControl.ContentsReset Occurs when all text contents have been deleted and all attributes have been reset to the state after initialization.
TXTextControl.ServerTextControl.EditableRegionCreated Occurs when an editable region has been created.
TXTextControl.ServerTextControl.EditableRegionDeleted Occurs when an editable region has been deleted.
TXTextControl.ServerTextControl.SubTextPartCreated Occurs when a subtextpart has been created.
TXTextControl.ServerTextControl.SubTextPartDeleted Occurs when a subtextpart has been deleted.
TXTextControl.ServerVisualization.TextViewGenerator.EditableRegionEntered Occurs when the current input position has been moved to a position that belongs to an editable region.
TXTextControl.ServerVisualization.TextViewGenerator.EditableRegionLeft Occurs when the current input position has left an editable region.
TXTextControl.ServerVisualization.TextViewGenerator.FrameMoved Occurs when a frame (image, text frame, chart, barcode or drawing) has been moved.
TXTextControl.ServerVisualization.TextViewGenerator.FrameSized Occurs when a frame (image, text frame, chart, barcode or drawing) has been sized.