【发布时间】:2021-05-24 16:09:05
【问题描述】:
出现错误“GoogleJsonResponseException:对 slides.presentations.batchUpdate 的 API 调用失败并出现错误:无效请求 [3].updateShapeProperties:无效字段:autofit_type”
但我认为我的代码是正确的:
'updateShapeProperties': {
'objectId': pageElementId,
'fields': 'autofitType',
'shapeProperties': {
'autofit': {
'autofitType':'SHAPE_AUTOFIT'
}
}
}
非常感谢任何帮助 干杯 格雷格
【问题讨论】: