Step 2: Loading and Saving Documents

Due to the various supported document formats, document conversion is a very interesting task with TX Text Control .NET Server.

Important code snippet:

1: serverTextControl1.Load(Server.MapPath("source.doc"), TXTextControl.StreamType.MSWord, loadSettings);
2: serverTextControl1.Save(Server.MapPath("results.pdf"), TXTextControl.StreamType.AdobePDF);

Source document: source.doc