I cannot find the Google documentation for updateParagraphStyle in batchUpdate.
I am attempting to align text in text boxes in slides. The horizontal and vertical alignments seem to be indifferent places. Horizontal is part of the paragraph styling? I have read the entries for documents and sheets also looking for the correct syntax. I don't want anyone to write my code. I just want to find the documentation.
My guess for vertical alignment within shape:
updateShapeProperties': {
,"shapeProperties": {
"contentAlignment": 'MIDDLE' // TOP, MIDDLE, BOTTOM
My guess for horizontal alignment within shape:
updateShapeProperties
'updateParagraphStyle': {
'style': {
"alignment": // CENTER, START, END, JUSTIFIED
My best guesses above. I never found paragraph style in slides documentation.
Your guess is correct.
Vertical Alignment can be set using UpdateShapePropertiesRequest -> ShapeProperties -> contentAlignment
Horizontal Alignment can be set using UpdateParagraphStyleRequest -> ParagraphStyle -> alignment
References: