This event is fired each time a frame has been acquired and decoded. Unlike FrameAcquired event it is fired from a processing thread providing a higher efficiency. Might not work in certain containers.
Private Sub objActiveDcam_FrameAcquiredX() [C/C++]
This VB.NET example uses the FrameAcquiredX event to access and display a pixel value in real time:
PrivateSub AxActiveDcam1_FrameAcquired(ByVal sender As System.Object, ByVal e As AxACTIVEDCAMLib._IActiveDcamEvents_FrameAcquiredEvent)
Label1.Text = AxActiveDcam1.GetPixel(16, 32)
This event is provided for applications that can process events fired from a processing thread (VB.NET, C#, C++). For applications created in VB6, VBA, Delphi and Matlab use FrameAcquired event instead.
One of the following conditions must be met, before the FrameAcquiredX event will be fired: