<< Click to display table of contents >> TRVCamera.OnNewImage |
The event allows providing custom video frames.
type // defined in MRVBitmap unit
TRVNewImageEvent = procedure(Sender: TObject; img: TRVMBitmap) of object;
property OnNewImage: TRVNewImageEvent;
This event occurs if DeviceType = rvdtUserData.
In this event, programmers can provide their own video frames. They must be assigned to img parameter.
Example:
img.Assign(MyFrame);
In this example, MyFrame is a variable of a graphic class (for example, TBitmap, or TJPEGImage) containing the current video frame.