contentAlignment property

String? contentAlignment
getter/setter pair

The alignment of the content in the shape.

If unspecified, the alignment is inherited from a parent placeholder if it exists. If the shape has no parent, the default alignment matches the alignment for new shapes created in the Slides editor. Possible string values are:

  • "CONTENT_ALIGNMENT_UNSPECIFIED" : An unspecified content alignment. The content alignment is inherited from the parent if it exists.
  • "CONTENT_ALIGNMENT_UNSUPPORTED" : An unsupported content alignment.
  • "TOP" : An alignment that aligns the content to the top of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 't'.
  • "MIDDLE" : An alignment that aligns the content to the middle of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 'ctr'.
  • "BOTTOM" : An alignment that aligns the content to the bottom of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 'b'.

Implementation

core.String? contentAlignment;