Open this page in the API Guide

DashboardCanvas.getDesignPlaygroundSize Method

Gets the design playground width and height.