Skype:TextControlSupport
Orders:877-462-4772
TX Text Control - word processing components.
« »

Append files to the current document

Blogged by Björn Meyer on April 04, 2005 and tagged with .NET, Samples.

In the last days, many customers who are in the process of porting their TX Text Control ActiveX applications to .NET have asked me how to merge different files into one document.

In the TX Text Control ActiveX, there was a parameter (CurSelection) in the Load method which specifies, whether the loaded document replaces the content or whether it should be appended.

In TX Text Control .NET, there is no such parameter, but a new class: the Selection class.

This class can be used to manipulate the currently selected text. Additionally, this class contains a Load and Save method to load documents into a selection or to save only the selected text:

TextControl1.Selection.Load(path, StreamType)
« Prev:Browser-based document editing with TX Text Control ActiveX Server
» Next:Adjusting table columns using inches

Comments

If you would like to comment on this blog entry, please post a comment.

External verification page for ISO 9000:2000 certificate
ISO 9001:2000
certified