ImageGear for .NET
Dispose() Method
See Also  Send Feedback
ImageGear21.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecognition Class : Dispose() Method




Glossary Item Box

Shuts down the recognition engine or releases its reference to it if there are other ImGearRecognition instances remaining.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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

©2013. Accusoft Corporation. All Rights Reserved.