contentAlignment property

String? contentAlignment
getter/setter pair

The alignment of the content in the table cell.

The default alignment matches the alignment for newly created table cells in the Docs editor. Possible string values are:

  • "CONTENT_ALIGNMENT_UNSPECIFIED" : An unspecified content alignment. The content alignment is inherited from the parent if one 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;