This method takes a snapshot from the video.
[Visual Basic] [ Boolean
= ]playcontrolname.TakeSnapShot
[Visual C++] [
BOOL = ]playcontrolname.TakeSnapShot()
[VB.NET] [ Boolean =
]playcontrolname.TakeSnapShot()
[C#.NET] [ bool =
]playcontrolname.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 video 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 video.