Major Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the major version number.
Syntax
public int Major { get; }Public ReadOnly Property Major As IntegerExamples
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.");
}Dim versionInfo As VersionInfo = textControl.GetVersionInfo()
If versionInfo.Major < 34 Then
Throw New NotSupportedException("TX Text Control 34 or later is required.")
End IfLimitations
Read only.