Gets or sets the object of type Server
public Component TextComponent { get; set; }
Public Property TextComponent() As Component
The following examples create a new Document
TXTextControl.DocumentServer.DocumentController documentController1 = new TXTextControl.DocumentServer.DocumentController();
TXTextControl.ServerTextControl serverTextControl1 = new TXTextControl.ServerTextControl();
documentController1.TextComponent = serverTextControl1;
``
```vbnet
Dim DocumentController1 As TXTextControl.DocumentServer.DocumentController = New TXTextControl.DocumentServer.DocumentController()
Dim ServerTextControl1 As TXTextControl.ServerTextControl = New TXTextControl.ServerTextControl()
DocumentController1.TextComponent = ServerTextControl1