set canvas dimensions 设置画布尺寸
In the first section of this function, you set up objects needed to create the report, like the width and height of the canvas, as well as padding variables.
在这个函数的第一部分中,您设置了创建报告需要的对象,比如画布的宽度和高度以及填充变量。
Set the canvas to 1200px wide and 1700px high. Set the background color to #ffffff .
把画布的宽度设置为 1200px 高度设置为 1700px .把背景色设置为 #ffffff 既白色 .
If you want to set the background color for the canvas in the body region, do the following.
如果您想为主体区域中的画布设置背景色,请执行以下步骤。
应用推荐