# GimpUi.Ruler.prototype.get_range

    function get_range(): [lower: Number(gdouble), upper: Number(gdouble), max_size: Number(gdouble)] {
        // Gjs wrapper for gimp_ruler_get_range()
    }

Retrieves values indicating the range and current position of a GimpUi.Ruler. See GimpUi.Ruler.prototype.set_range.

Since 2.8

lower

  location to store lower limit of the ruler, or null

upper

  location to store upper limit of the ruler, or null

max_size

  location to store the maximum size of the ruler used when calculating the space to leave for the text, or null.