Limitations
Read only.
Gets the number of the installed service pack. The original version has the service pack number 0.
public int ServicePack { get; }
The following code snippet displays how to use the TXText
TXTextControl.VersionInfo currentVersionInfo = textControl1.GetVersionInfo();
int currentVersionInfo_Major = currentVersionInfo.Major;
int currentVersionInfo_Minor = currentVersionInfo.Minor;
TXTextControl.VersionInfo.ProductLevel currentVersionInfo_ProductLevel = currentVersionInfo.Level;
int currentVersionInfo_ServicePack = currentVersionInfo.ServicePack; // in this line, the TXTextControl.VersionInfo.ServicePack property is used
System.Windows.Forms.MessageBox.Show( "The current TX TextControl Major Version is: " + currentVersionInfo_Major.ToString() + "\r\n"
+ "The current TX TextControl Minor Version is: " + currentVersionInfo_Minor.ToString() + "\r\n"
+ "The current TX TextControl Product Level is: " + currentVersionInfo_ProductLevel.ToString() + "\r\n"
+ "The current TX TextControl Service Pack is: " + currentVersionInfo_ServicePack.ToString());
Read only.