Get clone of current video frame displayed by the control.

Namespace:  AForge.Controls
Assembly:  AForge.Controls (in AForge.Controls.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public Bitmap GetCurrentVideoFrame()

Return Value

Returns copy of the video frame, which is currently displayed by the control - the last video frame received from video source. If the control did not receive any video frames yet, then the method returns nullNothingnullptra null reference (Nothing in Visual Basic).

See Also