Description
Displays the current frame in ActiveGige window.
Syntax
[VB]
objActiveGige.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()
ActiveGige1.Display = False
ActiveGige1.Acquire = True
End Sub
Private Sub ActiveGige1_FrameAcquired()
a = ActiveGige1.GetImageData
For x = 0 To 200
For y = 0 To 200
a(x, y) = 255 - a(x, y)
Next
Next
ActiveGige1.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.