New Classes, Properties, Methods and Events

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

Properties

Property Description
TXTextControl.FootnoteSection.TextFrames Gets a collection of all text frames contained in the footnote section of a page.
TXTextControl.FootnoteText.TextFrames Gets a collection of all text frames contained in the footnotes' text.
TXTextControl.HeaderFooter.TextFrames Gets a collection of all text frames contained in a header or footer.
TXTextControl.MainText.TextFrames Gets a collection of all text frames contained in the main text of the document.
TXTextControl.ServerTextControl.BackColor Gets or sets the background color of the control.
TXTextControl.ServerTextControl.Baseline Gets or sets the baseline alignment, in twips, of the control.
TXTextControl.ServerTextControl.DocumentLinks Gets a collection of all links that point to targets in the same document.
TXTextControl.ServerTextControl.DocumentTargets Gets a collection of all targets in the document.
TXTextControl.ServerTextControl.Font Gets or sets the control's font.
TXTextControl.ServerTextControl.FontUnderlineStyle Gets or sets underlining style for the text displayed by the control.
TXTextControl.ServerTextControl.ForeColor Gets or sets the foreground color of the control.
TXTextControl.ServerTextControl.HeadersAndFooters Gets a collection of all headers and footers the current document contains.
TXTextControl.ServerTextControl.HypertextLinks Gets a collection of all hypertext links contained in the main text of the document.
TXTextControl.ServerTextControl.Images Gets a collection of all images contained in the main text of the document.
TXTextControl.ServerTextControl.InlineStyles Gets a collection of all inline styles the current document contains.
TXTextControl.ServerTextControl.InputPosition Gets or sets the current text input position.
TXTextControl.ServerTextControl.Lines Gets a collection of all lines contained in the main text of the document.
TXTextControl.ServerTextControl.ListFormat Gets or sets the type and the formatting attributes of a bulleted or numbered list.
TXTextControl.ServerTextControl.PageMargins Gets or sets the margins for the pages of the current document.
TXTextControl.ServerTextControl.Pages Gets the number of pages contained in the current document.
TXTextControl.ServerTextControl.PageSize Specifies the width and height of the pages for the current document.
TXTextControl.ServerTextControl.ParagraphFormat Gets or sets the paragraph formatting attributes of the text displayed by the control.
TXTextControl.ServerTextControl.ParagraphStyles Gets a collection of all paragraph styles the current document contains.
TXTextControl.ServerTextControl.Selection Gets or sets the current selection in the main text of the document.
TXTextControl.ServerTextControl.Tables Gets a collection of all tables contained in the document.
TXTextControl.ServerTextControl.Text Gets or sets the control's text.
TXTextControl.ServerTextControl.TextBackColor Gets or sets the background color for the text.
TXTextControl.ServerTextControl.TextChars Gets a collection of all characters contained in the main text of the document.
TXTextControl.ServerTextControl.TextFields Gets a collection of all standard text fields contained in the main text of the document.
TXTextControl.ServerTextControl.TextFrames Gets a collection of all text frames the current document contains.
TXTextControl.TableRow.AllowPageBreak Gets or sets a value specifying how the table row is formatted at page breaks.
TXTextControl.TableRow.CellFormat Gets or sets the formatting attributes of a table row.
TXTextControl.TableRow.MinimumHeight Gets or sets the minimum height, in twips, of the table row.
TXTextControl.TableRow.Row Gets the number of the table row represented through this table row object.
TXTextControl.TextFrame.BackColor Gets or sets the background color of a text frame.
TXTextControl.TextFrame.BorderWidth Gets or sets the width, in twips, of a text frame's border line.
TXTextControl.TextFrame.Images Gets a collection of all images contained in a text frame.
TXTextControl.TextFrame.InsertionMode (Only for compatibility) Gets or sets a value determining whether a text frame is treated as a single character or the document's text either flows around or overwrites the text frame.
TXTextControl.TextFrame.InternalMargins Gets or sets the distances, in twips, between the text frame's border line and the text.
TXTextControl.TextFrame.Lines Gets a collection of all text lines contained in a text frame.
TXTextControl.TextFrame.Selection Gets or sets the current selection in a text frame.
TXTextControl.TextFrame.Tables Gets a collection of all tables in a text frame.
TXTextControl.TextFrame.TextChars Gets a collection of all characters contained in a text frame.
TXTextControl.TextFrame.TextFields Gets a collection of all standard text fields in a text frame.
TXTextControl.TextFrameEventArgs.TextFrame Gets an object that represents the text frame which causes the event.

Classes

Class Description
TXTextControl.ServerTextControl The ServerTextControl class implements a component that provide high-level text processing features for server-based applications.
TXTextControl.TableRow An instance of the TableRow class represents a single row of a table in a Text Control document.
TXTextControl.TextFrame An instance of the TextFrame class represents a text frame in a Text Control document.
TXTextControl.TextFrameCollection An instance of the TextFrameCollection class contains all text frames in a Text Control document or part of the document represented through objects of the type TextFrame.
TXTextControl.TextFrameEventArgs The TextFrameEventArgs class provides data for all events that occur with text frames.

Methods

Method Description
TXTextControl.ServerTextControl.Clear Clears the selected text or the character right from the current input position.
TXTextControl.ServerTextControl.Create Initializes the resources of a newly instantiated object.
TXTextControl.ServerTextControl.Find Finds a text string in the main text of the document.
TXTextControl.ServerTextControl.GetXmlElements Returns a collection of XML elements.
TXTextControl.ServerTextControl.Load Loads text in a certain format.
TXTextControl.ServerTextControl.OnImageCreated Raises the ImageCreated event.
TXTextControl.ServerTextControl.OnImageDeleted Raises the ImageDeleted event.
TXTextControl.ServerTextControl.OnTableCreated Raises the TableCreated event.
TXTextControl.ServerTextControl.OnTableDeleted Raises the TableDeleted event.
TXTextControl.ServerTextControl.OnTextFrameCreated Raises the TextFrameCreated event.
TXTextControl.ServerTextControl.OnTextFrameDeleted Raises the TextFrameDeleted event.
TXTextControl.ServerTextControl.OnXmlInvalid Raises the XmlInvalid event.
TXTextControl.ServerTextControl.OnXmlNotWellFormed Raises the XmlNotWellFormed event.
TXTextControl.ServerTextControl.Print Prints a Text Control document or a part of a document.
TXTextControl.ServerTextControl.ResetBackColor Resets the BackColor property to its default value.
TXTextControl.ServerTextControl.ResetContents Deletes the entire contents of the control.
TXTextControl.ServerTextControl.ResetFont Resets the Font property to its default value.
TXTextControl.ServerTextControl.ResetForeColor Resets the ForeColor property to its default value.
TXTextControl.ServerTextControl.ResetPageMargins Resets the PageMargins property to its default value.
TXTextControl.ServerTextControl.ResetPageSize Resets the PageSize property to its default value.
TXTextControl.ServerTextControl.ResetTextBackColor Resets the TextBackColor property to its default value.
TXTextControl.ServerTextControl.Save Saves the complete contents of a document with the specified format.
TXTextControl.ServerTextControl.Select Selects text within the control.
TXTextControl.ServerTextControl.SelectAll Selects all text in the control.
TXTextControl.TextFrameCollection.Add Inserts a new text frame in a Text Control document.
TXTextControl.TextFrameCollection.CopyTo Copies the elements of the collection to an array, starting at a particular index.
TXTextControl.TextFrameCollection.Remove Removes a text frame from a Text Control document.

Events

Event Description
TXTextControl.ServerTextControl.ImageCreated Occurs when a new image has been created.
TXTextControl.ServerTextControl.ImageDeleted Occurs when an image has been deleted.
TXTextControl.ServerTextControl.TableCreated Occurs after a new table has been created when loading a document which contains a table without an identifier.
TXTextControl.ServerTextControl.TableDeleted Occurs after a table has been deleted.
TXTextControl.ServerTextControl.TextFrameCreated Occurs when a new text frame has been created.
TXTextControl.ServerTextControl.TextFrameDeleted Occurs when a text frame has been deleted.
TXTextControl.ServerTextControl.XmlInvalid Occurs when a loaded or changed XML document cannot be validated with the document type definition (DTD) referenced in the document.
TXTextControl.ServerTextControl.XmlNotWellFormed Occurs when a loaded XML document is not well-formed.