This method takes a snapshot from the preview.

[Visual Basic]   [ Boolean = ]previewcontrolname.TakeSnapShot
[Visual C++]     [ BOOL = ]previewcontrolname.TakeSnapShot()
[VB.NET]   [ Boolean = ]previewcontrolname.TakeSnapShot()
[C#.NET]   [ bool = ]previewcontrolname.TakeSnapShot()

Parameters

None

Return Value

Returns True (nonzero) if successful, returns False (0) when not successful.

Explanation

The TakeSnapShot method takes a snapshot from the preview that was started using the Start method. The snapshot can be retrieved in the Snapshot event.

If the return value is False (0), then 2, 4 or 11 will be set in the ErrorStatus property. If the value is 4, it means that a snapshot cannot be taken from that preview.

Execute the ShowCapturePinDialog method to confirm the color space and compression of the preview.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation