GetShutterMax
Top  Previous  Next

Description

Returns the maximum value of the Shutter property.


Syntax


[VB]
Value=objActiveDcam.GetShutterMax()


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


Data Types
[VB]

Return value: Long


Parameters
[C/C++]

pValue [out,retval]  
Pointer to the maximum shutter value  


Return Values


S_OK  
Success  
E_FAIL  
The shutter control is not available for the selected camera  
 

Example


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

Private Sub
 Form_Load()

Slider1.Min = ActiveDcam1.GetShutterMin
Slider1.Max = ActiveDcam1.GetShutterMax
Slider1.Value = ActiveDcam1.Shutter
End Sub

 

Remarks


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