DestroyOcx Method

Description         This method releases the resources of the BiTwain control.

Usage                  [form.]TWAIN. DestroyOcx

Returns               void

Remarks

Programing Notes     Use when the host will not call the desctructor of the control.

For example: Internet Explorer will not call the destructor of the control,  so this method is provided to release the resources when the HTML exits (body.onunload event in the HTML).

Do not use the BiTwain control after calling DestroyOcx method on the control.

See Also