TX Text Control .NET for Windows Forms

Dispose Method

Method|Introduced in 15.0
Namespace
TXTextControl.DocumentServer
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Frees all resources used by the DocumentController instance.

Syntax

Dispose()

Frees all resources used by the DocumentController instance.

public virtual void Dispose();

Dispose(bool)

protected override void Dispose(bool disposing);

Examples

The following example uses Dispose in a focused Document Controller workflow. The created object is then available to the surrounding document workflow.

documentController.Dispose();
Console.WriteLine("Document Controller is ready for use.");