GetBalanceRatioMin
Top  Previous  Next

Description

Returns the minimum value allowed for the BalanceRatio property. Used for the white balance control.


Syntax


[VB]
Value=objActiveUSB.GetBalanceRatioMin


[C/C++]
HRESULT GetBalanceRatioMin( float* pValue );


Data Types
[VB]

Return value: Single


Parameters
[C/C++]

pValue [out, retval]  
Pointer to the minimum value of the feature  


Return Values


S_OK  
Success  
E_NOINTERFACE        
Feature does not exist or not available  
E_FAIL  
Failure to read the value  
 

Example


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

Private Sub
 Form_Load()

Slider1.Min = ActiveUSB1.GetBalanceRatioMin
Slider1.Max = ActiveUSB1.GetBalanceRatioMax
Slider1.Value = ActiveUSB1.BalanceRatio
End Sub

 

Remarks


Note that this method is available only if the currently selected camera supports one of the following GenICam features: BalanceRatio, BalanceRatioAbs, BalanceRatioRaw.