Documentation Index Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
Use this file to discover all available pages before exploring further.
This object is a collection of available (activated) licenses. The collection is accessible via the Engine object.
The indexing of ABBYY FineReader Engine collections starts with 0.
The foreach statement in C# (for each in Visual Basic .NET) can be used to manipulate the collection.
Properties
Name Type Description Application Engine , read-only Returns the Engine object. Count int , read-onlyStores the number of elements in the collection. Element License , read-only Provides access to a single element of the collection.
Methods
Name Description Find Provides access to the license by its serial number. Item Provides access to a single element of the collection.
Output parameter
This object is the output parameter of the GetAvailableLicenses method of the Engine object.
Object Diagram
Samples
FREngine . IEngine engine ;
// We presume that the Engine object has been loaded
// Selecting the license
string projectId = "" ; // set the correct projectID
FREngine . ILicenses licenses = Engine . GetAvailableLicenses ( projectId );
int selectedIndex = 0 ; // select the license
FREngine . ILicense license = licenses . Item ( selectedIndex );
Engine . SetCurrentLicense ( license );
The object is used in the following Windows demo tools: User Pattern Training Utility .
See also
License
IEngine::SetCurrentLicense
Working with Collections
Working with Properties