get-scroll-range in canvas%
Gets the current maximum value of a manual scrollbar. The result is
always 0 if the scrollbar is not active or it is automatic.
See also
init-manual-scrollbars.
(-> exact integer in [0, 10000]senda-canvasget-scroll-rangewhich)
which: symbol in'(horizontal vertical)The
whichargument is either'horizontalor'vertical, indicating whether to get the maximum value of the horizontal or vertical scrollbar, respectively.