TX Text Control .NET for Windows Forms Documentation

New Classes, Properties, Methods and Events

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

Classes

ClassDescription
AdaptFontEventArgsThe AdaptFontEventArgs class provides data for the TextControl.AdaptFont, WPF.TextControl.AdaptFont and ServerTextControl.AdaptFont events.
DocumentServer.DocumentControllerThe DocumentController class is a .NET component that can be used to perform the necessary document handling on the server, when using a control such as the DocumentServer.Web.DocumentViewer.
DocumentServer.DocumentController.FieldAdapterCollectionAn instance of the FieldAdapterCollection class contains adapters for all application fields of the page it belongs to.
DocumentServer.Fields.DateFieldThe DateField implements the MS Word specific DATEFIELD field.
DocumentServer.Fields.FieldAdapterThe abstract FieldAdapter class is the base class of all special DocumentServer field adapters.
DocumentServer.Fields.FormCheckBoxThe FormText implements the MS Word specific FORMCHECKBOX field.
DocumentServer.Fields.FormDropDownThe FormDropDown class implements the MS Word specific FORMDROPDOWN field.
DocumentServer.Fields.FormFieldAdapterThe abstract FormFieldAdapter class is the base class of all special DocumentServer form field adapters.
DocumentServer.Fields.FormTextThe FormText class implements the MS Word specific FORMTEXT field.
DocumentServer.Fields.IfFieldThe IfField class implements the MS Word specific IF field.
DocumentServer.Fields.IncludeTextThe IncludeText class implements the MS Word specific INCLUDETEXT field.
DocumentServer.Fields.MailMergeFieldAdapterThe abstract MailMergeFieldAdapter class is the base class of all special DocumentServer mail merge field adapters.
DocumentServer.Fields.MergeFieldThe MergeField class implements the MS Word specific MERGEFIELD field.
DocumentServer.MailMerge.FieldMergedEventArgsThe FieldMergedEventArgs class provides data for the DocumentServer.MailMerge.FieldMerged event.
DocumentServer.MailMerge.IncludeTextMergingEventArgsThe IncludeTextMergingEventArgs class provides data for the DocumentServer.MailMerge.IncludeTextMerging event.
DocumentServer.Web.DocumentViewerThe DocumentViewer class is a .NET component that can be used to display documents in the web browser in ASP.NET projects.
DocumentServer.Web.DocumentViewer.SaveDocumentEventArgsThe SaveDocumentEventArgs class provides data for the DocumentServer.Web.DocumentViewer.SaveDocument event.
DocumentServer.Web.DocumentViewer.SaveFormDataEventArgsThe SaveDocumentEventArgs class provides data for the DocumentServer.Web.DocumentViewer.SaveFormData event.
FontSettingsThe FontSettings class provides settings determining which fonts can be used in a document.
ParagraphAn instance of the Paragraph class represents a single paragraph in a Text Control document.
ParagraphCollectionAn instance of the ParagraphCollection class contains all paragraphs in a Text Control document or part of the document represented through objects of the type Paragraph. An instance of this class can be obtained with the

Properties

PropertyDescription
DocumentServer.MailMerge.BlockRowMergedEventArgs.DataRowCountGets an int value that indicates the total number of data rows.
DocumentServer.MailMerge.BlockRowMergedEventArgs.MergeBlockNameGets a string value that indicates current merge block name.
DocumentServer.MailMerge.SearchPathSpecifies a directory name where sub-templates and images (for image merging) should be searched.
HeaderFooter.ParagraphsGets a collection of all paragraphs the header or footer contains.
ListFormat.TextAfterNumberGets or sets the text that is displayed behind the number in a numbered list.
ListFormat.TextBeforeNumberGets or sets the text that is displayed in front of the number in a numbered list.
LoadSettings.PDFImportSettingsSpecifies how the document structure is generated when a PDF document is imported.
SectionFormat.ColumnDistancesGets the distances, in twips, between the columns on a page.
SectionFormat.ColumnLineColorGets or sets the color of a dividing line between two columns.
SectionFormat.ColumnLineWidthGets or sets the width of a dividing line between two columns.
SectionFormat.ColumnsGets or sets the number of columns on a page.
SectionFormat.ColumnWidthsGets the widths, in twips, of the columns on a page.
SectionFormat.EqualColumnWidthGets or sets a value indicating whether the columns on a page have all the same width and the same distance between them.
ServerTextControl.FontSettingsGets a FontSettings object which provides properties determining which fonts can be used in a document.
ServerTextControl.ParagraphsGets a collection of all paragraphs contained in the main text of the document.
TextControl.FontSettingsGets a FontSettings object which provides properties determining which fonts can be used in a document.
TextControl.ParagraphsGets a collection of all paragraphs contained in the text part with the input focus.
TextField.BoundsGets the bounding rectangle of a text field.
TextField.FormattingBoundsGets the formatting rectangle of a text field.
TextFrame.ParagraphsGets a collection of all paragraphs contained in a text frame.

Methods

MethodDescription
Page.GetImageGets an image of the page's contents.
ServerTextControl.OnAdaptFontRaises the AdaptFont event.
TextControl.GetClipboardFormatsReturns an array of ClipboardFormat values.
TextControl.OnAdaptFontRaises the AdaptFont event.
TextControl.PasteReplaces the current selection in the Text Control with the contents of the Clipboard.

Events

EventDescription
DocumentServer.MailMerge.FieldMergedOccurs when a field has been merged.
DocumentServer.MailMerge.IncludeTextMergingOccurs when an IncludeText field has been merged.
ServerTextControl.AdaptFontOccurs for each font that must be adapted, because it is not supported.
TextControl.AdaptFontOccurs for each font that must be adapted, because it is not supported.
 
 
 

Products

Support

Downloads

Corporate

Buy Now