Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
The EAEditionTypes enumeration identifies the current level of licensed functionality available.
EAEditionTypes theEdition = theRepository.GetEAEdition();
if (theEdition == EAEditionTypes.piProfessional)
else if (theEdition == EAEditionTypes.piCorporate)
The enumeration defines these formal values:
There is no separate value for the trial edition; the Repository.GetEAEdition() function returns the appropriate EAEditionTypes value for whichever edition the user has selected to trial.