TX Text Control .NET Server

Major Property

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

Description

Gets the major version number.

Syntax

public int Major { get; }

Examples

The following example verifies that the installed TX Text Control runtime has the required major version.

VersionInfo versionInfo = textControl.GetVersionInfo();
if (versionInfo.Major < 34)
{
    throw new NotSupportedException("TX Text Control 34 or later is required.");
}

Limitations

Read only.