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.HeaderFooter An instance of the HeaderFooter class represents a header or footer in a Text Control document.
TXTextControl.LoadSettings The LoadSettings class provides properties for advanced settings and information during load operations.
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.Distance Gets or sets the distance, in twips, of a header or footer to the top or bottom of the page.
TXTextControl.HeaderFooter.Images Gets a collection of all images the header or footer contains.
TXTextControl.HeaderFooter.PageNumberFields Gets a collection of page number fields in the header or footer.
TXTextControl.HeaderFooter.SectionNumber Returns the number of the section to which the header or footer belongs.
TXTextControl.HeaderFooter.Selection Gets or sets the current selection in a header or footer.
TXTextControl.HeaderFooter.TextFields Gets a collection of all standard text fields in the header or footer.
TXTextControl.HeaderFooter.Type Gets the type of the header or footer.
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.LoadSettings.BytesRead Gets the number of bytes read during the load operation.
TXTextControl.LoadSettings.CssFileName Gets the path and filename of the CSS file belonging to a HTML or XML document.
TXTextControl.LoadSettings.DocumentBasePath Sets a file path that is used to search for resources like images or hypertext links.
TXTextControl.LoadSettings.DocumentTitle Gets the document's title.
TXTextControl.LoadSettings.ImageSearchPath Sets a file path that is used to search for resources like images or hypertext links.
TXTextControl.LoadSettings.LoadedFile Gets the name and path of the file that has been loaded.
TXTextControl.LoadSettings.LoadedStreamType Gets the StreamType of the file that has been loaded.
TXTextControl.LoadSettings.LoadHypertextLinks Specifies whether or not hypertext links are loaded.
TXTextControl.LoadSettings.LoadImages Specifies whether or not images are loaded.
TXTextControl.LoadSettings.PageMargins Gets the margins of the loaded document's pages.
TXTextControl.LoadSettings.PageSize Gets the width and height of the loaded document's pages.
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.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.HeaderFooter.Activate Activates a header or a footer.
TXTextControl.HeaderFooter.Deactivate Deactivates a header or a footer.
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.

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.