TX Text Control .NET Server

Create Method

Method|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Initializes the resources of a newly instantiated object. This method must be called before using the object. To release created resources, Dispose should be called after using the object.

Syntax

public bool Create();

Return Value

The return value is true, if the object could be initialized. Otherwise, it is false.

Examples

The following example creates the ruler bar view generator.

if (rulerBarViewGenerator.Create())
{
    Console.WriteLine("Create completed successfully.");
}