GetWhiteShadingMin
Top  Previous  Next

Description

Returns the minimum value of the WhiteShading color components.


Syntax


[VB]
Value=objActiveDcam.GetWhiteShadingMin()


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


Data Types
[VB]

Return value: Long


Parameters
[C/C++]

pValue [out, retval]  
Pointer to the minimum white shaidng value  


Return Values


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

Example


This VB example uses the minimum and maximum white shading values to initialize slider controls:

Private Sub
 Form_Load()

Slider1.Min = ActiveDcam1.GetWhiteShadingMin
Slider1.Max = ActiveDcam1.GetWhiteShadingMax
Slider2.Min = ActiveDcam1.GetWhiteShadingMin
Slider2.Max = ActiveDcam1.GetWhiteShadingMax
Slider3.Min = ActiveDcam1.GetWhiteShadingMin
Slider3.Max = ActiveDcam1.GetWhiteShadingMax

End Sub

 

Remarks


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