Click or drag to resize

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
)

Parameters

ranges
Type: System.Collections.GenericIEnumerableSliderSnapRange
Ranges to snap to. Will override whatever snap ranges were defined before.
See Also