Description
Displays the current frame in ActiveDcam window.
Syntax
[VB]
objActiveDcam.Draw
[C/C++]
HRESULT Draw();
Parameters
Return Values
Example
This VB example uses the FrameAcquired event to invert pixel value in the bottom left corner of the current frame and display the processed frame in real time.
Private Sub Form_Load()
ActiveDcam1.Display = False
ActiveDcam1.Acquire = True
End Sub
Private Sub ActiveDcam1_FrameAcquired()
a = ActiveDcam1.GetImageData
For x = 0 To 200
For y = 0 To 200
a(x, y) = 255 - a(x, y)
Next
Next
ActiveDcam1.Draw
End Sub
Remarks
Use this method when the automatic live display is disabled (Display is set to False). This is typically done when you want to perform real time image processing and display the processed image in the control window.