ImageEn, unit histogrambox |
|
THistogramBox.MaxSelected
Declaration
property MaxSelected: Integer;
Description
If
MouseInteract =
mhSelectRange then
MinSelected and
MaxSelected specify the range of returned values.
If
MouseInteract =
mhSelectValue then
MinSelected and
MaxSelected return the same value.
Note: This valid range of
MaxSelected will depend on
HistogramKind. If
HistogramKind is
[hkHue] then the range will be 0 to 359. Otherwise it will be 0 to 255. -1 can also be specified to clear the selection.
// Select from 100 to 200
HistogramBox1.MouseInteract := mhSelectRange;
HistogramBox1.MinSelected := 100;
HistogramBox1.MaxSelected := 200;
See Also
◼MinSelected◼SelectionColor◼MouseInteract