Class TableCell

Table Cell

A cell in a table.

Methods

Method Return type Brief description
Integer Returns the 0-based column index of the table cell.
Integer Returns the column span of the table cell.
Content Alignment Returns the Content Alignment of the text in the table cell.
Fill Returns the fill of the table cell.
Table Cell Returns the head cell of this table cell.
Cell Merge State Returns the merge state of the table cell.
Table Column Returns the table column containing the current cell.
Table Row Returns the table row containing the current cell.
Table Returns the table containing the current cell.
Integer Returns the 0-based row index of the table cell.
Integer Returns the row span of the table cell.
Text Range Returns the text content of the table cell.
Table Cell Sets the Content Alignment of the text in the table cell.

Detailed documentation

get Column Index()

Returns the 0-based column index of the table cell.

Return

Integer

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Column Span()

Returns the column span of the table cell.

Return

Integer

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Content Alignment()

Returns the Content Alignment of the text in the table cell.

Return

Content Alignment

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Fill()

Returns the fill of the table cell.

Return

Fill

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Head Cell()

Returns the head cell of this table cell. Returns null if this cell has not been merged or if this cell is the head cell.

Return

Table Cell

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Merge State()

Returns the merge state of the table cell.

Return

Cell Merge State

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Parent Column()

Returns the table column containing the current cell.

Return

Table Column

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Parent Row()

Returns the table row containing the current cell.

Return

Table Row

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Parent Table()

Returns the table containing the current cell.

Return

Table

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Row Index()

Returns the 0-based row index of the table cell.

Return

Integer

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Row Span()

Returns the row span of the table cell.

Return

Integer

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Text()

Returns the text content of the table cell. Returns null if the cell is merged but is not a head cell.

Text within a table cell always terminates with a newline character.

Return

Text Range

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

set Content Alignment(contentAlignment)

Sets the Content Alignment of the text in the table cell.

Parameters

Name Type Description
content Alignment
Content Alignment

Return

Table Cell

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations
Create a Mobile Website
View Site in Mobile | Classic
Share by: