iText 7 7.1.8 API
iText.Kernel.Version Class Reference

This class contains version information about iText. More...

Public Member Functions

String  GetProduct ()
  Gets the product name. More...
 
String  GetRelease ()
  Gets the release number. More...
 
String  GetVersion ()
  Returns the iText version as shown in the producer line. More...
 
String  GetKey ()
  Returns a license key if one was provided, or null if not. More...
 
VersionInfo  GetInfo ()
  Returns a version info in one class More...
 

Static Public Member Functions

static iText.Kernel.Version  GetInstance ()
  Gets an instance of the iText version that is currently used. More...
 
static bool  IsAGPLVersion ()
  Checks if the AGPL version is used. More...
 
static bool  IsExpired ()
  Is the license expired? More...
 

Detailed Description

This class contains version information about iText.

This class contains version information about iText. DO NOT CHANGE THE VERSION INFORMATION WITHOUT PERMISSION OF THE COPYRIGHT HOLDERS OF ITEXT. Changing the version makes it extremely difficult to debug an application. Also, the nature of open source software is that you honor the copyright of the original creators of the software.

Member Function Documentation

◆ GetInfo()

VersionInfo iText.Kernel.Version.GetInfo ( )
inline

Returns a version info in one class

Returns
a version info.

◆ GetInstance()

static iText.Kernel.Version iText.Kernel.Version.GetInstance ( )
inlinestatic

Gets an instance of the iText version that is currently used.

Gets an instance of the iText version that is currently used. Note that iText Group requests that you retain the iText producer line in every PDF that is created or manipulated using iText.

◆ GetKey()

String iText.Kernel.Version.GetKey ( )
inline

Returns a license key if one was provided, or null if not.

Returns
a license key.

◆ GetProduct()

String iText.Kernel.Version.GetProduct ( )
inline

Gets the product name.

Gets the product name. iText Group NV requests that you retain the iText producer line in every PDF that is created or manipulated using iText.

Returns
the product name

◆ GetRelease()

String iText.Kernel.Version.GetRelease ( )
inline

Gets the release number.

Gets the release number. iText Group NV requests that you retain the iText producer line in every PDF that is created or manipulated using iText.

Returns
the release number

◆ GetVersion()

String iText.Kernel.Version.GetVersion ( )
inline

Returns the iText version as shown in the producer line.

Returns the iText version as shown in the producer line. iText is a product developed by iText Group NV. iText Group requests that you retain the iText producer line in every PDF that is created or manipulated using iText.

Returns
iText version

◆ IsAGPLVersion()

static bool iText.Kernel.Version.IsAGPLVersion ( )
inlinestatic

Checks if the AGPL version is used.

Returns
returns true if the AGPL version is used.

◆ IsExpired()

static bool iText.Kernel.Version.IsExpired ( )
inlinestatic

Is the license expired?

Returns
true if expired