New Classes, Properties, Methods and Events

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

Classes

Class Description
TXTextControl.AdaptFontEventArgs The AdaptFontEventArgs class provides data for the TextControl.AdaptFont, WPF.TextControl.AdaptFont and ServerTextControl.AdaptFont events.
TXTextControl.DocumentServer.DocumentController The 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.
TXTextControl.DocumentServer.DocumentController.FieldAdapterCollection An instance of the FieldAdapterCollection class contains adapters for all application fields of the page it belongs to.
TXTextControl.DocumentServer.Fields.DateField The DateField implements the MS Word specific DATEFIELD field.
TXTextControl.DocumentServer.Fields.FieldAdapter The abstract FieldAdapter class is the base class of all special DocumentServer field adapters.
TXTextControl.DocumentServer.Fields.FormCheckBox The FormText implements the MS Word specific FORMCHECKBOX field.
TXTextControl.DocumentServer.Fields.FormDropDown The FormDropDown class implements the MS Word specific FORMDROPDOWN field.
TXTextControl.DocumentServer.Fields.FormFieldAdapter The abstract FormFieldAdapter class is the base class of all special DocumentServer form field adapters.
TXTextControl.DocumentServer.Fields.FormText The FormText class implements the MS Word specific FORMTEXT field.
TXTextControl.DocumentServer.Fields.IfField The IfField class implements the MS Word specific IF field.
TXTextControl.DocumentServer.Fields.IncludeText The IncludeText class implements the MS Word specific INCLUDETEXT field.
TXTextControl.DocumentServer.Fields.MailMergeFieldAdapter The abstract MailMergeFieldAdapter class is the base class of all special DocumentServer mail merge field adapters.
TXTextControl.DocumentServer.Fields.MergeField The MergeField class implements the MS Word specific MERGEFIELD field.
TXTextControl.DocumentServer.MailMerge.FieldMergedEventArgs The FieldMergedEventArgs class provides data for the FieldMerged event.
TXTextControl.DocumentServer.MailMerge.IncludeTextMergingEventArgs The IncludeTextMergingEventArgs class provides data for the IncludeTextMerging event.
TXTextControl.FontSettings The FontSettings class provides settings determining which fonts can be used in a document.
TXTextControl.Paragraph An instance of the Paragraph class represents a single paragraph in a Text Control document.
TXTextControl.ParagraphCollection An 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.
TXTextControl.TextField An instance of the TextField class represents a text field in a Text Control document.

Properties

Property Description
TXTextControl.AdaptFontEventArgs.AdaptedFontName Gets or sets the adapted font.
TXTextControl.AdaptFontEventArgs.FontName Gets the name of the original font which must be adapted.
TXTextControl.AdaptFontEventArgs.SupportedFonts Gets a list of all fonts currently supported.
TXTextControl.DocumentServer.DocumentController.CharCodeChecked Gets or sets the character's code that is used to render checked check boxes.
TXTextControl.DocumentServer.DocumentController.CharCodeUnchecked Gets or sets the character's code that is used to render unchecked check boxes.
TXTextControl.DocumentServer.DocumentController.CheckBoxFont Gets or sets the font used for rendering check boxes.
TXTextControl.DocumentServer.DocumentController.DpiX Gets or sets the horizontal DPI value used for display-related calculations.
TXTextControl.DocumentServer.DocumentController.DpiY Gets or sets the vertical DPI value used for display-related calculations.
TXTextControl.DocumentServer.DocumentController.FieldAdapterCollection.Count Gets the number of elements contained in the collection.
TXTextControl.DocumentServer.DocumentController.FieldAdapterCollection.Item Gets the DocumentServer.Fields.FieldAdapter instance at the specified index from the collection.
TXTextControl.DocumentServer.DocumentController.Pages Gets a collection of all pages contained in the currently loaded document.
TXTextControl.DocumentServer.DocumentController.TextComponent Gets or sets the object of type ServerTextControl that is associated with the DocumentController component.
TXTextControl.DocumentServer.Fields.DateField.Date Sets the date of the field.
TXTextControl.DocumentServer.Fields.DateField.Format Gets and sets the format of the field.
TXTextControl.DocumentServer.Fields.DateField.Text Gets and sets the displayed text of the field.
TXTextControl.DocumentServer.Fields.FieldAdapter.ApplicationField Gets the adapted ApplicationField of the field.
TXTextControl.DocumentServer.Fields.FieldAdapter.ID Gets the ID of the specific field through its adapter.
TXTextControl.DocumentServer.Fields.FieldAdapter.Length Gets the number of characters in a text field through its adapter.
TXTextControl.DocumentServer.Fields.FieldAdapter.Start Gets the first character position (one-based) of the field through its adapter.
TXTextControl.DocumentServer.Fields.FieldAdapter.TypeName Gets the field's type name of the specific field through its adapter.
TXTextControl.DocumentServer.Fields.FormCheckBox.Checked Specifies whether the field is checked or not.
TXTextControl.DocumentServer.Fields.FormCheckBox.Size Specifies the maximum length of the field.
TXTextControl.DocumentServer.Fields.FormCheckBox.SizeAuto Specifies whether the field is automatically resized or not.
TXTextControl.DocumentServer.Fields.FormDropDown.ListEntries Gets and sets the list entries of the drop down field.
TXTextControl.DocumentServer.Fields.FormFieldAdapter.Bounds Gets and sets the bounds of the form field.
TXTextControl.DocumentServer.Fields.FormFieldAdapter.CalcOnExit Gets or sets the CalcOnExit property of the field.
TXTextControl.DocumentServer.Fields.FormFieldAdapter.Enabled Specifies whether the field is enabled or not.
TXTextControl.DocumentServer.Fields.FormFieldAdapter.Font Gets and sets the font of the form field.
TXTextControl.DocumentServer.Fields.FormFieldAdapter.HelpText Gets and sets the help text of the field.
TXTextControl.DocumentServer.Fields.FormFieldAdapter.Name Gets and sets the name of the form field.
TXTextControl.DocumentServer.Fields.FormFieldAdapter.StatusText Gets and sets the status text of the field.
TXTextControl.DocumentServer.Fields.FormFieldAdapter.Text Gets and sets the text of the form field.
TXTextControl.DocumentServer.Fields.FormText.Format Gets or sets the TextFormatOptions of the field.
TXTextControl.DocumentServer.Fields.FormText.MaxLength Gets and sets the maximum length of the field.
TXTextControl.DocumentServer.Fields.FormText.Type Gets or sets the type of the field.
TXTextControl.DocumentServer.Fields.IfField.Expression1 Gets and sets the first expression text that should be compared.
TXTextControl.DocumentServer.Fields.IfField.Expression2 Gets and sets the second expression text that should be compared to Expression1.
TXTextControl.DocumentServer.Fields.IfField.FalseText Gets and sets the text that should be displayed when the comparison is false.
TXTextControl.DocumentServer.Fields.IfField.FieldValue Gets or sets the field's value of the field that has been specified in Expression1.
TXTextControl.DocumentServer.Fields.IfField.Operator Gets and sets the operator of the field.
TXTextControl.DocumentServer.Fields.IfField.Text Gets and sets the displayed text of the field.
TXTextControl.DocumentServer.Fields.IfField.TrueText Gets and sets the text that should be displayed when the comparison is true.
TXTextControl.DocumentServer.Fields.IncludeText.Bookmark Gets and sets the bookmark switch of the field.
TXTextControl.DocumentServer.Fields.IncludeText.Filename Gets and sets the file name of the document that should be inserted.
TXTextControl.DocumentServer.Fields.IncludeText.TextFormat Gets and sets the text format of the field.
TXTextControl.DocumentServer.Fields.MailMergeFieldAdapter.PreserveFormatting Specifies whether the field's formatting should be preserved.
TXTextControl.DocumentServer.Fields.MergeField.Mapped Specifies whether the field is a mapped field.
TXTextControl.DocumentServer.Fields.MergeField.Name Gets and sets the name of the field.
TXTextControl.DocumentServer.Fields.MergeField.Text Gets and sets the text of the field.
TXTextControl.DocumentServer.Fields.MergeField.TextAfter Gets and sets the text of the field that is displayed after the field's text.
TXTextControl.DocumentServer.Fields.MergeField.TextBefore Gets and sets the text of the field that is displayed before the field's text.
TXTextControl.DocumentServer.Fields.MergeField.TextFormat Gets and sets the text format of the field.
TXTextControl.DocumentServer.Fields.MergeField.VerticalFormatting Specifies whether the field's formatting is vertical.
TXTextControl.DocumentServer.MailMerge.BlockRowMergedEventArgs.DataRowCount Gets an int value that indicates the total number of data rows.
TXTextControl.DocumentServer.MailMerge.BlockRowMergedEventArgs.MergeBlockName Gets a string value that indicates current merge block name.
TXTextControl.DocumentServer.MailMerge.FieldMergedEventArgs.Cancel Gets or sets a value indicating whether the current merge process should be canceled.
TXTextControl.DocumentServer.MailMerge.FieldMergedEventArgs.MailMergeFieldAdapter Gets or sets a MailMergeFieldAdapter that contains the already merged field.
TXTextControl.DocumentServer.MailMerge.FieldMergedEventArgs.Merged Gets a bool value that indicates whether the current field has been merged successfully or not.
TXTextControl.DocumentServer.MailMerge.IncludeTextMergingEventArgs.Filename Gets a string that indicates the file name of the IncludeText field to be merged.
TXTextControl.DocumentServer.MailMerge.IncludeTextMergingEventArgs.IncludeTextDocument Sets a byte[] array that contains the complete data of the IncludeText document.
TXTextControl.DocumentServer.MailMerge.SearchPath Specifies a directory name where sub-templates and images (for image merging) should be searched.
TXTextControl.DocumentTarget.Bounds Gets the bounding rectangle of a target.
TXTextControl.FontSettings.AdaptFontEvent Specifies whether a TextControl.AdaptFont event is raised, if a font must be adapted.
TXTextControl.FontSettings.EmbeddableFontsOnly Gets or sets a value specifying that only embeddable fonts can be used in a document.
TXTextControl.FontSettings.ScalableFontsOnly Gets or sets a value specifying that only free scalable fonts can be used in a document.
TXTextControl.FontSettings.TrueTypeFontsOnly Gets or sets a value specifying that only TrueType and OpenType fonts can be used in a document.
TXTextControl.HeaderFooter.Paragraphs Gets a collection of all paragraphs the header or footer contains.
TXTextControl.ListFormat.TextAfterNumber Gets or sets the text that is displayed behind the number in a numbered list.
TXTextControl.ListFormat.TextBeforeNumber Gets or sets the text that is displayed in front of the number in a numbered list.
TXTextControl.LoadSettings.PDFImportSettings Specifies how the document structure is generated when a PDF document is imported.
TXTextControl.Paragraph.Format Gets or sets the paragraph's formatting attributes.
TXTextControl.Paragraph.FormattingStyle Gets or sets the paragraph's formatting style.
TXTextControl.Paragraph.Length Gets the number of characters in the paragraph including the paragraph end character.
TXTextControl.Paragraph.Lines Gets the number of lines the paragraph consists of.
TXTextControl.Paragraph.ListFormat Gets or sets the paragraph's bulleted or numbered list and/or its formatting attributes.
TXTextControl.Paragraph.ListNumber Gets the paragraph's list number.
TXTextControl.Paragraph.ListNumberText Gets the paragraph's list number text.
TXTextControl.Paragraph.Number Gets the paragraph's number.
TXTextControl.Paragraph.Start Gets the number (one-based) of the paragraph's first character.
TXTextControl.Paragraph.StartLine Gets the number (one-based) of the paragraph's first line.
TXTextControl.Paragraph.Text Gets the paragraph's text.
TXTextControl.ParagraphCollection.Count Gets the number of elements contained in the collection.
TXTextControl.ParagraphCollection.Item Gets a paragraph from the collection.
TXTextControl.SectionFormat.ColumnDistances Gets the distances, in twips, between the columns on a page.
TXTextControl.SectionFormat.ColumnLineColor Gets or sets the color of a dividing line between two columns.
TXTextControl.SectionFormat.ColumnLineWidth Gets or sets the width of a dividing line between two columns.
TXTextControl.SectionFormat.Columns Gets or sets the number of columns on a page.
TXTextControl.SectionFormat.ColumnWidths Gets the widths, in twips, of the columns on a page.
TXTextControl.SectionFormat.EqualColumnWidth Gets or sets a value indicating whether the columns on a page have all the same width and the same distance between them.
TXTextControl.ServerTextControl.FontSettings Gets a FontSettings object which provides properties determining which fonts can be used in a document.
TXTextControl.ServerTextControl.Paragraphs Gets a collection of all paragraphs contained in the main text of the document.
TXTextControl.TextField.Bounds Gets the bounding rectangle of a text field.
TXTextControl.TextField.Deleteable Specifies whether a text field can be deleted by the end-user while a TX Text Control document is being edited.
TXTextControl.TextField.DoubleClickEvent Specifies whether a TextControl.TextFieldDoubleClicked event is raised, if the end-user doubleclicks the text field.
TXTextControl.TextField.DoubledInputPosition Specifies whether a text field has a doubled input position in front of its first character and behind its last character.
TXTextControl.TextField.Editable Specifies whether the text of a text field can be changed by the end-user while a TX Text Control document is being edited.
TXTextControl.TextField.FormattingBounds Gets the formatting rectangle of a text field.
TXTextControl.TextField.ID Gets or sets an identifier for a text field.
TXTextControl.TextField.Length Gets the number of characters in a text field.
TXTextControl.TextField.Name Relates a user-defined name to a text field.
TXTextControl.TextField.ShowActivated Obsolete.
TXTextControl.TextField.Start Gets the first character position (one-based) of a text field.
TXTextControl.TextField.Text Returns or sets the text which is contained within a text field.
TXTextControl.TextFrame.Paragraphs Gets a collection of all paragraphs contained in a text frame.

Methods

Method Description
TXTextControl.DocumentServer.DocumentController.Dispose Frees all resources used by the DocumentController instance.
TXTextControl.DocumentServer.DocumentController.FieldAdapterCollection.CopyTo Copies the elements of the collection to an array, starting at the specified index.
TXTextControl.DocumentServer.DocumentController.FieldAdapterCollection.GetEnumerator Returns an enumerator that can be used to iterate over the collection's items.
TXTextControl.DocumentServer.DocumentController.FieldAdapterCollection.IndexOf Gets the index of the specified field adapter in the collection.
TXTextControl.DocumentServer.DocumentController.GetBlockFieldNames Gets a list of the names of all the application fields which are contained inside the specified merge block.
TXTextControl.DocumentServer.DocumentController.GetBlockNames Gets a list of the names of all the merge blocks contained in the document.
TXTextControl.DocumentServer.DocumentController.GetFieldAdapters Gets a collection of adapters for all application fields in the specified scope.
TXTextControl.DocumentServer.DocumentController.GetFieldNames Get field names.
TXTextControl.DocumentServer.DocumentController.Load Loads a document from a file that is used for further processing.
TXTextControl.DocumentServer.DocumentController.LoadFromMemory Loads a document from memory that is used for further processing.
TXTextControl.DocumentServer.DocumentController.MergeField Sets the value of the form field specified through the given adapter to the submitted value.
TXTextControl.DocumentServer.DocumentController.Save Saves the document that is currently loaded in the DocumentController to a file.
TXTextControl.DocumentServer.DocumentController.SaveToMemory Saves the document that is currently loaded in the DocumentController.
TXTextControl.DocumentServer.DocumentController.Twips2Pixels Converts a value in twips to a value in pixels according to a specified resolution.
TXTextControl.DocumentServer.Fields.FieldAdapter.ShowDialog Opens the specific field options dialog box.
TXTextControl.Page.GetImage Gets an image of the page's contents.
TXTextControl.Paragraph.Save Saves the paragraph's text with the specified format.
TXTextControl.Paragraph.Select Selects the paragraph.
TXTextControl.ParagraphCollection.CopyTo Copies the elements of the collection to an array, starting at a particular index.
TXTextControl.ParagraphCollection.GetEnumerator Returns an enumerator that can be used to iterate through the collection.
TXTextControl.ParagraphCollection.GetItem Gets a particular paragraph from the collection.
TXTextControl.ServerTextControl.OnAdaptFont Raises the AdaptFont event.
TXTextControl.TextField.ScrollTo Sets the current input position to the beginning of a text field and scrolls it into the visible part of the document.

Events

Event Description
TXTextControl.DocumentServer.MailMerge.FieldMerged Occurs when a field has been merged.
TXTextControl.DocumentServer.MailMerge.IncludeTextMerging Occurs when an IncludeText field has been merged.
TXTextControl.ServerTextControl.AdaptFont Occurs for each font that must be adapted, because it is not supported.