Open this page in the API Guide

Canvas.saveCanvas Method