MajorVersion
Returns the major version of the product as an integer. Example: For Altova RaptorXML Server 2018r2sp1(x64), returns 20 (the difference between the major version (2018) and the initial year 1998). If an error occurs, a RaptorXMLException is raised.
COM and .NET
Signature: int MajorVersion()
Java
Signature: public int getMajorVersion()