This message contains graphics. If you do not see the graphics: Graphic Version.
 
Special Update Offer, Load method's CurSelection in TX .NET

Update your old TX Text Control now!

The special offer that we announced last week has only one more week to run.

For one more week only, we are offering updates from any old version of TX Text Control to the current version 10.1. This includes cross updates from ActiveX to .NET.

Don't miss this unique opportunity to upgrade your application with the latest word processing features.

Please order online at:
url removed, as offer over

This offer is valid until February 25, 2004.

TX Text Control .NET for Windows Forms: Load method's CurSelection - where is it?

We often get the question:

'Where is the CurSelection parameter of the Load method in the .NET version of TX Text Control?'

In TX Text Control ActiveX, this parameter specifies that the loaded data replaces the current selection or is inserted at the current input position.

Due to the new, more effective, object oriented class design of TX Text Control .NET for Windows Forms, this has been changed a little bit. Beside the main Load method there is a Load method in the Selection class. The Selection class handles the attributes of a text selection in the document. The Selection.Load method replaces the selected text or inserts it at the current input position. Consider the following Visual Basic .NET source code:

TextControl1.Selection.Load("c:\document.doc", TXTextControl.StreamType.MSWord)

The new text is read from a file, a byte array or a string. The Selection class also has a Save method, which saves the selected text with a specified format.

If you would like to learn more about how to port your TX Text Control ActiveX project to the new TX Text Control .NET for Windows Forms, please have a look at the documentation.

You can try it yourself with the trial version of TX Text Control .NET for Windows Forms which can be downloaded here.

We wish you a lot of success with this tip. As always, we are delighted to help you with any matter relating to TX Text Control. Call us or e-mail us.


Best regards

The Newsletter Team

Text Control GmbH respects your online time and privacy. We only send this newsletter to TX Text Control customers and people who have signed up to receive it. However, if you would prefer not to receive future issues of the newsletter, you may unsubscribe at any time. If you received this newsletter forwarded from a colleague or friend, you may wish to subscribe directly.

Sent to: N/A.

Imprint | Unsubscribe | Subscribe

© 2004 Text Control GmbH. All Rights Reserved.