Open this page in the API Guide

SubCanvasViewContainer.saveScroll Method

Saves the scroll position of the subcanvas.