New Classes, Properties, Methods and Events

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

Classes

Class Description
TXTextControl.ApplicationField The ApplicationField class supports text field formats of applications such as Microsoft Word.
TXTextControl.ApplicationFieldCollection An instance of the ApplicationFieldCollection class contains all created or imported Microsoft Word or Heiler HighEdit fields represented through objects of the type ApplicationField.
TXTextControl.DocumentServer.MailMerge.BlockRowMergedEventArgs The BlockRowMergedEventArgs class provides data for the BlockRowMerged event.
TXTextControl.DocumentServer.MailMerge The MailMerge class is a .NET component that can be used to effortlessly merge template documents with database content in .NET projects, such as ASP.NET web applications, web services or Windows services.
TXTextControl.DocumentServer.MailMerge.DataRowMergedEventArgs The DataRowMergedEventArgs class provides data for the DataRowMerged event.
TXTextControl.Page An object of the Page class represents a formatted page of a document.
TXTextControl.PageCollection An instance of the PageCollection class contains all pages of a document.
TXTextControl.Section An object of the Section class represents a section of a document.
TXTextControl.SectionCollection An instance of the SectionCollection class contains all sections of a document.
TXTextControl.SectionFormat An instance of the SectionFormat class represents the formatting attributes of a section.

Properties

Property Description
TXTextControl.ApplicationField.Format Gets or sets the field's format.
TXTextControl.ApplicationField.Parameters Gets or sets the field's parameters.
TXTextControl.ApplicationField.TypeName Gets or sets the field's type name.
TXTextControl.DocumentServer.MailMerge.BlockRowMergedEventArgs.DataRowNumber Gets an int value that indicates the currently merged data row in the merge block.
TXTextControl.DocumentServer.MailMerge.BlockRowMergedEventArgs.MergedBlockRow Gets or sets a byte[] array that contains the complete data of the merged block row.
TXTextControl.DocumentServer.MailMerge.DataRowMergedEventArgs.DataRowNumber Gets an int value that indicates the currently merged data row.
TXTextControl.DocumentServer.MailMerge.RemoveEmptyFields Specifies whether empty fields should be removed from the template or not.
TXTextControl.DocumentServer.MailMerge.TextComponent Gets or sets the TextComponent object which is associated with the MailMerge component.
TXTextControl.DocumentServer.MailMerge.UseTemplateFormat Specifies whether the template page size and margins should be used or not.
TXTextControl.HeaderFooter.ApplicationFields Gets a collection of all Microsoft Word or Heiler HighEdit fields that have been created or imported from a Microsoft Word or RTF document.
TXTextControl.HeaderFooter.ConnectedToPrevious Gets or sets a value specifying whether the header or footer is connected with the header or footer of the previous section.
TXTextControl.HeaderFooter.SectionNumber Returns the number of the section to which the header or footer belongs.
TXTextControl.InputPosition.PageInSection Gets the page number in the section containing the current text input position.
TXTextControl.InputPosition.Section Gets the section number of the current text input position.
TXTextControl.Line.Page Gets the number of the page to which the line belongs.
TXTextControl.LoadSettings.ApplicationFieldFormat Specifies the format of text fields which are imported.
TXTextControl.LoadSettings.ApplicationFieldTypeNames Specifies an array of strings containing the type names of fields which are to be imported.
TXTextControl.Page.Bounds Gets the bounding rectangle of the page, in twips, relative to the top of the document.
TXTextControl.Page.Length Gets the number of characters of the page, including the page break character at the end of the page.
TXTextControl.Page.Number Gets the page's number.
TXTextControl.Page.NumberInSection Gets the page number relative to the beginning of the section the page belongs to.
TXTextControl.Page.Section Gets the number, one-based, of the section the page belongs to.
TXTextControl.Page.Start Gets the number (one-based) of the page's first character.
TXTextControl.Page.TextBounds Gets the bounding rectangle of the page's text, in twips, relative to the top of the document.
TXTextControl.PageCollection.Count Gets the number of elements contained in the collection.
TXTextControl.PageCollection.Item Gets a page from the collection.
TXTextControl.Section.Format Gets or sets the section's formatting attributes.
TXTextControl.Section.HeadersAndFooters Gets a collection of all headers and footers of the section.
TXTextControl.Section.Length Gets the number of characters in the section.
TXTextControl.Section.Number Gets the section's number.
TXTextControl.Section.Start Gets the number (one-based) of the first character in the section.
TXTextControl.SectionCollection.Count Gets the number of elements contained in the collection.
TXTextControl.SectionCollection.Item Gets a section from the collection.
TXTextControl.SectionFormat.BreakKind Gets or sets the kind of the section break the section starts with.
TXTextControl.SectionFormat.Landscape Gets or sets a value indicating whether the section's page size is in landscape orientation.
TXTextControl.SectionFormat.PageMargins Gets or sets the section's page margins.
TXTextControl.SectionFormat.PageSize Gets or sets the section's page size.
TXTextControl.Selection.SectionFormat Gets or sets page settings such as margins, size and orientation for the selected text.
TXTextControl.ServerTextControl.ApplicationFields Gets a collection of all Microsoft Word or Heiler HighEdit fields that have been created or imported from a Microsoft Word or RTF document.
TXTextControl.ServerTextControl.FormattingPrinter Gets or sets the name of a printer the text dimensions and capabilities of which are used to format the document.
TXTextControl.ServerTextControl.Landscape Gets or sets a value indicating whether the page orientation is landscape or portrait.
TXTextControl.ServerTextControl.Sections Gets a collection of all sections in the document.
TXTextControl.StatusBar.PageCounterText Gets or sets the text in the 'Page counter' area of the status bar.
TXTextControl.StatusBar.SectionCounterText Gets or sets the text in the 'Section counter' area of the status bar.
TXTextControl.StatusBar.SectionText Gets or sets the text in the 'Section' area of the status bar.
TXTextControl.StatusBar.ShowColumn Specifies whether the status bar shows the column number of the current text input position.
TXTextControl.StatusBar.ShowKeyStates Specifies whether the status bar shows the key state of the CAPSLOCK and the NUMLOCK key and the current insertion mode, insert or overwrite.
TXTextControl.StatusBar.ShowLine Specifies whether the status bar shows the line number of the current text input position.
TXTextControl.StatusBar.ShowPage Specifies whether the status bar shows the page number of the current text input position.
TXTextControl.StatusBar.ShowPageCounter Specifies whether the status bar shows the number of pages the document consists of.
TXTextControl.StatusBar.ShowSection Specifies whether the status bar shows the section number of the current text input position.
TXTextControl.StatusBar.ShowSectionCounter Specifies whether the status bar shows the number of sections the document consists of.
TXTextControl.StatusBar.ShowZoom Specifies whether the status bar shows the current zoom factor.
TXTextControl.TextControl.ApplicationFields Gets a collection of all application fields contained in the text part with the input focus.
TXTextControl.TextControl.BackgroundStyle Defines the kind of view to display the page background.
TXTextControl.TextControl.FormattingPrinter Gets or sets the name of a printer the text dimensions and capabilities of which are used to format the document.
TXTextControl.TextControl.HeaderFooterActivationStyle Gets or sets a value specifying the activation style for headers and footers.
TXTextControl.TextControl.HeaderFooterFrameStyle Gets or sets a value specifying the frame for activated headers and footers.
TXTextControl.TextControl.Landscape Gets or sets a value indicating whether the page orientation is landscape or portrait.
TXTextControl.TextControl.Sections Gets a collection of all sections in the document.
TXTextControl.TextFrame.ApplicationFields Gets a collection of all Microsoft Word or Heiler HighEdit fields that have been created or imported from a Microsoft Word or RTF document.

Methods

Method Description
TXTextControl.ApplicationFieldCollection.Add Inserts a new object of the type ApplicationField at the current input position.
TXTextControl.ApplicationFieldCollection.Clear Removes all fields of the type ApplicationField from a TX Text Control document.
TXTextControl.ApplicationFieldCollection.CopyTo Copies the elements of the collection to an array, starting at a particular index.
TXTextControl.ApplicationFieldCollection.GetItem Gets a particular field of the type ApplicationField from the collection.
TXTextControl.ApplicationFieldCollection.Remove Removes a field of the type ApplicationField from a TX Text Control document.
TXTextControl.DocumentServer.MailMerge.LoadTemplate Loads a template from a file that is used for the merge process.
TXTextControl.DocumentServer.MailMerge.LoadTemplateFromMemory Loads a template from memory that is used for the merge process.
TXTextControl.DocumentServer.MailMerge.Merge Merges given data into the loaded document template.
TXTextControl.DocumentServer.MailMerge.MergeBlocks Merges all repeating blocks that are contained in the loaded template with the System.Data.DataTable instances contained in the given System.Data.DataSet.
TXTextControl.DocumentServer.MailMerge.Print Prints the merged document.
TXTextControl.DocumentServer.MailMerge.SaveDocument Saves the merged document to a file.
TXTextControl.DocumentServer.MailMerge.SaveDocumentToMemory Saves the merged document.
TXTextControl.Page.Select Selects the text of the page.
TXTextControl.PageCollection.CopyTo Copies the elements of the collection to an array, starting at a particular index.
TXTextControl.PageCollection.GetEnumerator Returns an enumerator that can be used to iterate through the collection.
TXTextControl.PageCollection.GetItem Gets a particular page from the collection.
TXTextControl.Section.Select Selects the section.
TXTextControl.SectionCollection.Add Adds a new section to a document.
TXTextControl.SectionCollection.CopyTo Copies the elements of the collection to an array, starting at a particular index.
TXTextControl.SectionCollection.GetEnumerator Returns an enumerator that can be used to iterate through the collection.
TXTextControl.SectionCollection.GetItem Gets the Section with the current text input position from the collection.
TXTextControl.ServerTextControl.Append Loads text in a certain format from a file, a byte array or a string and appends it to the existing document.
TXTextControl.ServerTextControl.GetPages Gets a collection of all pages in the document.
TXTextControl.TextControl.Append Loads text in a certain format from a file, a byte array or a string and appends it to the existing document.
TXTextControl.TextControl.GetPages Gets a collection of all pages in the document.
TXTextControl.TextControl.OnPageChanged Raises the PageChanged event.
TXTextControl.TextControl.OnSectionChanged Raises the SectionChanged event.
TXTextControl.TextControl.SectionFormatDialog Invokes the built-in tabbed dialog box for setting section attributes.

Events

Event Description
TXTextControl.DocumentServer.MailMerge.BlockRowMerged Occurs when a merge block row has been merged successfully.
TXTextControl.DocumentServer.MailMerge.DataRowMerged Occurs when a data row has been merged successfully.
TXTextControl.TextControl.PageChanged Occurs when the text input position has been moved to another page.
TXTextControl.TextControl.SectionChanged Occurs when the text input position has been moved to another section.