GH_SliderBaseSetSnapRanges Method |
Assign a collection of snap ranges to this slider.
Namespace:
Grasshopper.GUI.Base
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public void SetSnapRanges(
IEnumerable<SliderSnapRange> ranges
)
Public Sub SetSnapRanges (
ranges As IEnumerable(Of SliderSnapRange)
)
Parameters
- ranges
- Type: System.Collections.GenericIEnumerableSliderSnapRange
Ranges to snap to. Will override whatever snap ranges were defined before.
See Also