This method frees the TWAIN DLL loaded with the LoadTwain method.
[Visual Basic] [ Boolean
=
]imagekitcontrolname.Scan.FreeTwain
[Visual C++] [
BOOL =
]imagekitcontrolname.GetScan().FreeTwain()
Parameters
None
Return Value
Returns True (nonzero) when successful, returns False (0) when not successful.
Explanation
The FreeTwain method frees the TWAIN DLL loaded with the LoadTwain method.
If you haven't used the LoadTwain method, then it isn't necessary to execute the FreeTwain method. If you do use it, make use to use the LoadTwain / FreeTwain as a pair.
Before executing FreeTwain, be sure to execute the Terminate method.