This VB example uses the minimum and maximum values to initialize the slider control:
Private SubForm_Load() Slider1.Min = ActiveGige1.GetBalanceRatioMin
Slider1.Max = ActiveGige1.GetBalanceRatioMax
Slider1.Value = ActiveGige1.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.