# GimpUi.Ruler.prototype.set_range

    function set_range(lower: Number(gdouble), upper: Number(gdouble), max_size: Number(gdouble)): void {
        // Gjs wrapper for gimp_ruler_set_range()
    }

This sets the range of the ruler.

Since 2.8

lower

  the lower limit of the ruler

upper

  the upper limit of the ruler

max_size

  the maximum size of the ruler used when calculating the space to leave for the text