Porting TX Text Control ActiveX Server to an ASP.NET Application

The following lists all properties, methods and events of the ActiveX server text compenent and its corresponding implementations in TX Text Control .NET, grouped by categories.

Character Formatting

ActiveX Property/Method/Event .NET Class/Property/Method/Event
BaseLine Property ServerTextControl.Baseline Property, Selection.Baseline Property
FontBold Property ServerTextControl.Font Property, Selection.Bold Property
FontItalic Property ServerTextControl.Font Property, Selection.Italic Property
FontName Property ServerTextControl.Font Property, Selection.FontName Property
FontSize Property ServerTextControl.Font Property, Selection.FontSize Property
FontStrikethru Property ServerTextControl.Font Property, Selection.StrikeOut Property
FontUnderline Property ServerTextControl.Font Property, Selection.Underline Property
FontUnderlineStyle Property ServerTextControl.FontUnderlineStyle Property, Selection.Underline Property
ForeColor Property ServerTextControl.ForeColor Property, Selection.ForeColor Property
TextBkColor Property ServerTextControl.TextBackColor Property, Selection.TextBackColor Property

Paragraph Formatting

ActiveX Property/Method/Event .NET Class/Property/Method/Event
Alignment Property ParagraphFormat.Alignment Property
FrameDistance Property ParagraphFormat.FrameDistance Property
FrameLineWidth Property ParagraphFormat.FrameLineWidth Property
FrameStyle Property ParagraphFormat.FrameStyle Property
IndentB Property ParagraphFormat.BottomDistance Property
IndentFL Property ParagraphFormat.LeftIndent Property
IndentL Property ParagraphFormat.HangingIndent Property
IndentR Property ParagraphFormat.RightIndent Property
IndentT Property ParagraphFormat.TopDistance Property
LineSpacing Property ParagraphFormat.LineSpacing Property
LineSpacingT Property ParagraphFormat.AbsoluteLineSpacing Property
TabCurrent Property No longer necessary, because positions and types of tabs are implemented with arrays.
TabPos Property ParagraphFormat.TabPositions Property
TabType Property ParagraphFormat.TabTypes Property

Bullets and Numbered Lists

ActiveX Property/Method/Event .NET Class/Property/Method/Event
BulletAttribute Property ListFormat Class Properties, ServerTextControl.ListFormat Property, Selection.ListFormat Property.
ListType Property ListFormat.Type Property
NumberingAttribute Property ListFormat Class Properties, ServerTextControl.ListFormat Property, Selection.ListFormat Property.

Headers and Footers

ActiveX Property/Method/Event .NET Class/Property/Method/Event
HeaderFooter Property ServerTextControl.HeadersAndFooters Property, HeaderFooterCollection Class
HeaderFooterPosition Property HeaderFooter.Distance Property
HeaderFooterSelect Method No longer necessary, because the HeaderFooter class implements its own properties.
HeaderFooterAtInputPos Property TextPartCollection.GetItem Property
HeaderFooterConnectedToPrevious Property HeaderFooter.ConnectedToPrevious Property

Page and Document Settings

ActiveX Property/Method/Event .NET Class/Property/Method/Event
CurrentPages Property ServerTextControl.Pages Property
Device Property Currently not implemented. Will be available in a future version.
PageHeight Property ServerTextControl.PageSize Property
PageMarginB Property ServerTextControl.PageMargins Property, PageMargins Class
PageMarginL Property ServerTextControl.PageMargins Property, PageMargins Class
PageMarginR Property ServerTextControl.PageMargins Property, PageMargins Class
PageMarginT Property ServerTextControl.PageMargins Property, PageMargins Class
PageWidth Property ServerTextControl.PageSize Property
ViewMode Property No longer necessary, because the ServerTextControl class automatically works with pages.

Stylesheets

ActiveX Property/Method/Event .NET Class/Property/Method/Event
Style Object FormattingStyle Class, InlineStyle Class, ParagraphStyle Class
StyleCurrent Property Selection.FormattingStyle Property
Styles Collection InlineStyleCollection Class, ParagraphStyleCollection Class
Styles Property ServerTextControl.InlineStyles Property, ServerTextControl.ParagraphStyles Property.

Tables

ActiveX Property/Method/Event .NET Class/Property/Method/Event
TableAtInputPos Property TableCollection.GetItem Method
TableCanChangeAttr Property TableCollection.CanAdd Property
TableCanDeleteColumn Property TableColumnCollection.CanRemove Property
TableCanDeleteLines Property TableRowCollection.CanRemove Property
TableCanInsert Property TableCollection.CanAdd Property
TableCanInsertColumn Property TableColumnCollection.CanAdd Property
TableCanInsertLines Property TableRowCollection.CanAdd Property
TableCellAttribute Property TableCellFormat Class Properties, TableCell.CellFormat Property, TableRow.CellFormat Property, TableColumn.CellFormat Property, TableCell.Width Property, TableCell.Position Property
TableCellLength Property TableCell.Length Property
TableCellStart Property TableCell.Start Property
TableCellText Property TableCell.Text Property
TableColAtInputPos Property TableColumnCollection.GetItem Method
TableColumns Property TablePartCollection.Count Property
TableDeleteColumn Method TableColumnCollection.Remove Method
TableDeleteLines Method TableRowCollection.Remove Method
TableGridLines Property TableCollection.GridLines Property
TableInsert Method TableCollection.Add Method
TableInsertColumn Method TableColumnCollection.Add Method
TableInsertLines Method TableRowCollection.Add Method
TableNext Method TableCollection Class (enumeration with for-each)
TableRowAtInputPos Property TableRowCollection.GetItem Method
TableRows Property TablePartCollection.Count Property

Loading, Saving and Database Support

ActiveX Property/Method/Event .NET Class/Property/Method/Event
DataTextFormat Property Not supported in Text Control.NET.
Load Method ServerTextControl.Load Method, Selection.Load Method.
LoadFromMemory Method ServerTextControl.Load Method, Selection.Load Method.
LoadSaveAttribute Property LoadSettings Class Properties, SaveSettings Class Properties.
Save Method ServerTextControl.Save Method, Selection.Save Method.
SaveToMemory Method ServerTextControl.Save Method, Selection.Save Method.
SaveToMemoryBuffer Method ServerTextControl.Save Method, Selection.Save Method.
Text Property ServerTextControl.Text Property, Selection.Text Property

Images and OLE Objects

ActiveX Property/Method/Event .NET Class/Property/Method/Event
ImageDisplayMode Property Not supported in Text Control.NET.
ImageExportFilename Property Image.ExportFileName Property
ImageExportFilters Property ImageCollection.ExportFilters Property
ImageExportFormat Property Image.ExportFilterIndex Property
ImageFilename Property Image.FileName Property
ImageFilters Property ImageCollection.ImportFilters Property
ImageSaveMode Property Image.SaveMode Property
ObjectCurrent Property No longer necessary, because the Image class implements the properties for setting the attributes of an image.
ObjectDelete Method ImageCollection.Remove Method
ObjectDistance Property Image.TextDistances Property
ObjectInsertAsChar Method ImageCollection.Add Method
ObjectInsertFixed Method ImageCollection.Add Method
ObjectItem Property Not supported in Text Control.NET.
ObjectNext Method ImageCollection Class (enumeration with for-each)
ObjectScaleX Property Image.HorizontalScaling Property
ObjectScaleY Property Image.VerticalScaling Property
ObjectSizeMode Property Image.Moveable Property, Image.Sizeable Property
ObjectTextflow Property Image.InsertionMode Property
ImageExportCompressionQuality Property Image.ExportCompressionQuality Property
ImageExportMaxResolution Property Image.ExportMaxResolution Property
ImageInsert Method ImageCollection.Add Method
ImageInsertAsChar Method ImageCollection.Add Method
ImageInsertFixed Method ImageCollection.Add Method

Hypertext Links

ActiveX Property/Method/Event .NET Class/Property/Method/Event
FieldType Property DocumentLink Class, DocumentTarget Class, HypertextLink Class, PageNumberField Class
FieldTypeData Property DocumentLink.DocumentTarget Property, DocumentTarget.TargetName Property, HypertextLink.Target Property, PageNumberField.NumberFormat Property, PageNumberField.StartNumber Property

Printing

ActiveX Property/Method/Event .NET Class/Property/Method/Event
PrintColors Property ServerTextControl.Print Method, PrintDocument.DafaultPageSettings.Color Property
PrintDevice Property ServerTextControl.Print Method, PrintDocument.PrinterSettings.PrinterName
PrintDoc Method ServerTextControl.Print Method
PrintOffset Property Not supported in Text Control.NET.
PrintPage Method ServerTextControl.Print Method.
PrintZoom Property Not supported in Text Control.NET.

Search and Replace

ActiveX Property/Method/Event .NET Class/Property/Method/Event
Find Method ServerTextControl.Find Method

Control Styles and Mode Settings

ActiveX Property/Method/Event .NET Class/Property/Method/Event
BackColor Property ServerTextControl.BackColor Property
WordWrapMode Property Currently not implemented. Will be available in a future version.

Line Operations

ActiveX Property/Method/Event .NET Class/Property/Method/Event
GetBaseLinePos Method Line.Baseline Property
GetCharFromLine Method Line.Start Property
GetLineCount Method LineCollection.Count Property
GetLineFromChar Method LineCollection.GetItem Property
GetLineFromPoint Method LineCollection.GetItem Property
GetLineRect Method Line.TextBounds Property

Selections and Character Input

ActiveX Property/Method/Event .NET Class/Property/Method/Event
CurrentInputPosition Property InputPosition Class, ServerTextControl.InputPosition Property.
FormatSelection Property Selection Class, ServerTextControl.Selection Property
InputPosFromPoint Method InputPosition Class, ServerTextControl.InputPosition Property, TextCharCollection.GetItem method.
RTFSelText Property Selection.Load Method, Selection.Save Method
SelLength Property Selection.Length Property
SelStart Property Selection.Start Property.
SelText Property Selection.Text Property.

Marked Text Fields

ActiveX Property/Method/Event .NET Class/Property/Method/Event
FieldAtInputPos Property TextFieldCollection.GetItem Method
FieldChangeable Property TextField.Editable Property
FieldCurrent Property No longer necessary, because the TextField class implements the properties for setting the attributes of a text field.
FieldData Property TextField.Name Property, TextField.ID Property
FieldDelete Method TextFieldCollection.Remove Method
FieldDeleteable Property TextField.Deleteable Property
FieldEditAttr Property TextField.DoubleClickEvent Property, TextField.DoubledInputPosition Property, TextField.ShowActivated Property
FieldEnd Property TextField.Length Property
FieldGoto Method TextField.ScrollTo Method
FieldInsert Method TextFieldCollection.Add Method
FieldNext Method TextFieldCollection Class (enumeration with for-each)
FieldPosX Property TextChar.Bounds Property, TextCharCollection.GetItem Method, TextField.Start Property.
FieldPosY Property TextChar.Bounds Property, TextCharCollection.GetItem Method, TextField.Start Property.
FieldStart Property TextField.Start Property
FieldText Property TextField.Text Property

Handling XML Documents

ActiveX Property/Method/Event .NET Class/Property/Method/Event
XMLElement Object XmlElement Class
XMLElements Collection XmlElementCollection Class
XMLElements Property ServerTextControl.GetXmlElements Method

Miscellaneous

ActiveX Property/Method/Event .NET Class/Property/Method/Event
GetTextExtent Method Not supported in Text Control.NET.
ResetContents Method ServerTextControl.ResetContents Method