访问和修改条带,即应用于范围中行或列的颜色模式。每个条带由一个范围以及行、列、页眉和页脚的一组颜色组成。
方法
详细文档
copyTo(range)
getFirstColumnColorObject()
getFirstRowColorObject()
getHeaderColumnColorObject()
getHeaderRowColorObject()
getRange()
getSecondColumnColorObject()
getSecondRowColorObject()
remove()
移除此条带。
授权
使用此方法的脚本需要获得以下一个或多个范围的授权:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets