GetFrameRateMin
Top  Previous  Next

Description

Returns the minimum value of the FrameRate property.


Syntax


[VB]
Value=objActiveDcam.GetFrameRateMin()


[C/C++]
HRESULT GetFrameRateMin(long* pValue );


Data Types
[VB]

Return value: Long


Parameters
[C/C++]

pValue [out, retval]  
Pointer to the minimum FrameRate value  


Return Values


S_OK  
Success  
E_FAIL  
The frame rate prioritized control is not available for the selected camera  
 

Example


This VB example uses the minimum and maximum FrameRate values to initialize the slider control:

Private Sub
 Form_Load()

Slider1.Min = ActiveDcam1.GetFrameRateMin
Slider1.Max = ActiveDcam1.GetFrameRateMax
Slider1.Value = ActiveDcam1.FrameRate
End Sub

 

Remarks


If the currently selected camera doesn't support the frame rate control, the method will generate an error.