TX Text Control .NET for Windows Forms

What's New in TX Text Control .NET for Windows Forms 15.0

Topic

Documents gained columns, PDF/A archiving and a PDF import in TX Text Control .NET for Windows Forms 15.0. The version also made paragraphs programmable as objects, let applications change how the TextControl pastes from the clipboard, added a button for structured lists and introduced the field adapters of the DocumentServer.Fields namespace.

Version 15.0 was released in May 2009 for the server and the client products, as the press release Press Release: TX Text Control 15.0 is Released announced. Its PDF/A export produces PDF/A-1b documents. The version's ASP.NET DocumentViewer, a web component for viewing documents in the browser, came with TX Text Control Server for ASP.NET and isn't part of TX Text Control .NET for Windows Forms.

Version 15.0 at a Glance

AreaWhat is new
ColumnsText arranged in columns, per section, with a Page Setup tab and columns in the ruler bar
PDFPDF/A-1 Level B export, text import from PDF documents
ListsStructured numbered lists, longer text before and after the number, a button bar button
ParagraphsA collection of Paragraph objects for each text part
ClipboardCustom handling of clipboard formats when pasting
Page imagesAn image of the content of a page
FieldsThe DocumentServer.Fields namespace with adapters for MS Word fields
Mail mergeIF, DATE and INCLUDETEXT fields, events for merged fields and included documents

Columns

The text of a section can be arranged in columns, so that one page can have different numbers of columns where a section begins. SectionFormat.Columns sets the number of columns. When EqualColumnWidth is true, which is the default, all columns get the same width, calculated from the page size. Otherwise, ColumnWidths and ColumnDistances set each width and distance, and ColumnLineColor and ColumnLineWidth draw a line between the columns.

Users make the same settings on a new tab of the Page Setup dialog box, and the ruler bar shows the widths of the columns and the distances between them. SHIFT+CTRL+ENTER inserts a column break, which continues the text in the next column. See Sections and Page Layout.

PDF/A and PDF Import

Lists, Paragraphs and Pages

Clipboard

Applications can change how the TextControl pastes data from the clipboard. TextControl.GetClipboardFormats returns the formats of the data on the clipboard, and a new overload of TextControl.Paste pastes the data in a chosen format. See Clipboard Operations.

Field Adapters and Mail Merge

Upgrade to Version 15.0

New Classes, Properties, Methods and Events

The classes and members below are the ones that the What's New documentation of version 15.0 lists for TX Text Control .NET for Windows Forms. Names are relative to the TXTextControl namespace, each name links to its current reference page, and "(obsolete)" marks a member that is obsolete today. The version's own list also names TextField and TextControl as new classes. TextFieldCollection handled TextField objects in version 13.0, and version 11.0 already extended TextControl with automatic resizing, so neither is listed under New Classes; most of the TextControl members in the table below date from earlier versions.

New Classes

Members by Class

ClassPropertiesMethodsEvents
AdaptFontEventArgsAdaptedFontName, FontName, SupportedFonts
DocumentServer.DocumentControllerCharCodeChecked, CharCodeUnchecked, CheckBoxFont, DpiX, DpiY, Pages, TextComponentDispose, GetBlockFieldNames, GetBlockNames, GetFieldAdapters, GetFieldNames, Load, LoadFromMemory, MergeField, Save, SaveToMemory, Twips2Pixels
DocumentServer.DocumentController.FieldAdapterCollectionCount, ItemCopyTo, GetEnumerator, IndexOf
DocumentServer.Fields.DateFieldDate, Format, Text
DocumentServer.Fields.FieldAdapterApplicationField, ID, Length, Start, TypeNameShowDialog
DocumentServer.Fields.FormCheckBoxChecked, Size, SizeAuto
DocumentServer.Fields.FormDropDownListEntries
DocumentServer.Fields.FormFieldAdapterBounds, CalcOnExit, Enabled, Font, HelpText, Name, StatusText, Text
DocumentServer.Fields.FormTextFormat, MaxLength, Type
DocumentServer.Fields.IfFieldExpression1, Expression2, FalseText, FieldValue, Operator, Text, TrueText
DocumentServer.Fields.IncludeTextBookmark, Filename, TextFormat
DocumentServer.Fields.MailMergeFieldAdapterPreserveFormatting
DocumentServer.Fields.MergeFieldMapped, Name, Text, TextAfter, TextBefore, TextFormat, VerticalFormatting
DocumentServer.MailMergeSearchPathFieldMerged, IncludeTextMerging
DocumentServer.MailMerge.BlockRowMergedEventArgsDataRowCount, MergeBlockName
DocumentServer.MailMerge.FieldMergedEventArgsCancel, MailMergeFieldAdapter, Merged
DocumentServer.MailMerge.IncludeTextMergingEventArgsFilename, IncludeTextDocument
DocumentTargetBounds
FontSettingsAdaptFontEvent, EmbeddableFontsOnly, ScalableFontsOnly, TrueTypeFontsOnly
HeaderFooterParagraphs
ListFormatTextAfterNumber, TextBeforeNumber
LoadSettingsPDFImportSettings
PageGetImage
ParagraphFormat, FormattingStyle, Length, Lines, ListFormat, ListNumber, ListNumberText, Number, Start, StartLine, TextSave, Select
ParagraphCollectionCount, ItemCopyTo, GetEnumerator, GetItem
SectionFormatColumnDistances, ColumnLineColor, ColumnLineWidth, Columns, ColumnWidths, EqualColumnWidth
ServerTextControlFontSettings, ParagraphsOnAdaptFontAdaptFont
TextControlAcceptsTab, BackColor, Baseline, BorderStyle, ButtonBar, CanCopy, CanPaste, CanRedo, CanUndo, CaretWidth, ControlChars, DocumentLinks, DocumentTargets, EditMode, FieldCursor, FontSettings, FontUnderlineStyle, ForeColor, HeadersAndFooters, HideSelection, HypertextLinks, Images, InsertionMode, ListFormat, PageMargins, Pages, PageSize, ParagraphFormat, Paragraphs, RulerBar, ScrollBars, ScrollLocation, Selection, StatusBar, Tables, TextBackColor, TextFields, VerticalRulerBar, ViewMode, XmlEditMode, ZoomFactorClear, ClearUndo, Copy, Cut, Find, FontDialog, FormattingStylesDialog, GetClipboardFormats, GetXmlElements, ListFormatDialog, Load, OnAcceptsTabChanged, OnAdaptFont, OnBorderStyleChanged, OnChanged, OnCharFormatChanged, OnDocumentLinkClicked, OnFontChanged, OnFormattingStyleListChanged, OnHandleCreated, OnHeaderFooterActivated, OnHeaderFooterDeactivated, OnHScroll, OnHypertextLinkClicked, OnImageClicked, OnImageCreated, OnImageDeleted, OnImageDoubleClicked, OnImageMoved, OnImageSized, OnInputFormattingStyleChanged, OnInputParagraphChanged, OnInputPositionChanged, OnPageFormatChanged, OnParagraphFormatChanged, OnTableCreated, OnTableDeleted, OnTableFormatChanged, OnTextFieldChanged, OnTextFieldClicked, OnTextFieldCreated, OnTextFieldDeleted, OnTextFieldDoubleClicked, OnTextFieldEntered, OnTextFieldLeft, OnVScroll, OnXmlInvalid, OnXmlNotWellFormed, OnZoomed, ParagraphFormatDialog, Paste, Print, PrintPreview, Redo, Replace, ResetBackColor, ResetContents, ResetCursor, ResetFieldCursor, ResetForeColor, ResetPageMargins, ResetPageSize, ResetTextBackColor, Save, Select, SelectAll, TabDialog, TableFormatDialog, UndoAcceptsTabChanged, AdaptFont, BorderStyleChanged, Changed, CharFormatChanged, DocumentLinkClicked, FormattingStyleListChanged, HeaderFooterActivated, HeaderFooterDeactivated, HScroll, HypertextLinkClicked, ImageClicked, ImageCreated, ImageDeleted, ImageDoubleClicked, ImageMoved, ImageSized, InputFormattingStyleChanged, InputParagraphChanged, InputPositionChanged, PageFormatChanged, ParagraphFormatChanged, TableCreated, TableDeleted, TableFormatChanged, TextFieldChanged, TextFieldClicked, TextFieldCreated, TextFieldDeleted, TextFieldDoubleClicked, TextFieldEntered, TextFieldLeft, VScroll, XmlInvalid, XmlNotWellFormed, Zoomed
TextFieldBounds, Deleteable, DoubleClickEvent, DoubledInputPosition, Editable, FormattingBounds, ID, Length, Name, ShowActivated (obsolete), Start, TextScrollTo
TextFrameParagraphs

Next Steps

  • Version 15.1: the features of the next version.
  • Version 14.0: sections, DOCX, MS Word fields, the Page Setup dialog box and the first MailMerge component.
  • PDF/A: create archivable PDF documents today.