ImageGear .NET - Updated
Dispose Method (ImGearRecDocument)




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecDocument Class : Dispose Method
Frees all data associated with this object.
Syntax
'Declaration
 
Public Sub Dispose() 
'Usage
 
Dim instance As ImGearRecDocument
 
instance.Dispose()
public void Dispose()
public: void Dispose(); 
public:
void Dispose(); 
Remarks
This is a standard .NET Dispose method. It frees all data associated with this object.

As the ImGearRecDocument instance is a “child” of ImGearRecognition object, the Dispose() method of this class instance must be called before the ImGearRecognition object that created this instance. Otherwise, this method will produce ImageGear.Core.ImGearException with engine initialization error.

The application is responsible for not accessing any methods or properties of the object after having called its Dispose method.

See Also

Reference

ImGearRecDocument Class
ImGearRecDocument Members