ImageGear for .NET
Dispose() Method




Shuts down the recognition engine or releases its reference to it if there are other ImGearRecognition instances remaining.
Syntax
'Declaration
 
Public Sub Dispose() 
'Usage
 
Dim instance As ImGearRecognition
 
instance.Dispose()
public void Dispose()
public: void Dispose(); 
public:
void Dispose(); 
Remarks

This is a standard .NET Dispose method for the ImGearRecognition object. It shuts down the Recognition engine, freeing its associated native resources. The application should ensure that any ImGearRecPage class objects have been disposed before calling this method. After this method has been called, the application should refrain from accessing any methods or properties of ImGearRecognition or any associated objects.

If there are multiple instances of the ImGearRecognition object in your process, only the last remaining instance will shut down the native Recognition engine. This way you can dispose of instances when they are no longer needed and the remaining instances will continue functioning as normal.

It is acceptable to call this Dispose method, instantiate a new ImGearRecognition object, and then use that object.

See Also

Reference

ImGearRecognition Class
ImGearRecognition Members
ImGearRecPage Class

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback