FormatChanged
Top  Previous  Next

Description

This event is fired each time the frame size or pixel format of the camera changes.


Syntax


[VB]
Private Sub objActiveGige_FormatChanged()


[C/C++]
HRESULT Fire_FormatChanged();


Parameters
[C/C++]

None  
 

Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB example uses the FormatChanged event to generate a sound signal:

Private Sub ActiveGige1_FormatChanged()  
Beep  
End Sub  
 

Remarks


The FrameDropped event is raised when the frame size or pixel format of the camera changes. Your application may use this event to perform certain actions when the video format is changed through the Property Pages of ActiveGige. See ShowProperties for more details.