This method closes the Web(USB) camera.
[Delphi] [ Boolean =
]previewcontrolname.Close
Parameters
None
Return Value
Returns True if successful, returns False when not successful.
Explanation
The Close method closes the Web(USB) camera that is opened with the Open method. If the return value is True, then the State property is updated. If the return value is False, then 11 will be set in the ErrorStatus property. This applies to executing the Close method without first executing the Open method.