如何在Google Sheets API中設置單元格大小?使用Java API在Google工作表中設置單元格大小
我試圖設置自定義格式,但我找不到任何有用的大小。
CellFormat myFormat = new CellFormat();
myFormat.setBackgroundColor(new Color()
.setRed(Float.valueOf("2"))
.setGreen(Float.valueOf("1"))
.setBlue(Float.valueOf("0.2"))); // red background
myFormat.setTextFormat(new TextFormat()
.setFontSize(15)
.setBold(Boolean.TRUE));
是請求,但我該怎麼辦這與Java和個人單元? –
@Peter你真的是指*單個單元格*或一行高度和一列寬度? – pnuts
我需要設置單個單元格大小。 –