Edit

Share via


PowerPoint.Interfaces.TableCellCollectionLoadOptions interface

Represents a collection of table cells.

Remarks

[ API set: PowerPointApi 1.8 ]

Properties

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

borders

For EACH ITEM in the collection: Gets the collection of borders for the table cell.

columnCount

For EACH ITEM in the collection: Gets the number of table columns this cell spans across. Will be greater than or equal to 1.

columnIndex

For EACH ITEM in the collection: Gets the zero-based column index of the cell within the table.

fill

For EACH ITEM in the collection: Gets the fill color of the table cell.

font

For EACH ITEM in the collection: Gets the font of the table cell.

horizontalAlignment

For EACH ITEM in the collection: Specifies the horizontal alignment of the text in the table cell.

indentLevel

For EACH ITEM in the collection: Specifies the indent level of the text in the table cell.

margins

For EACH ITEM in the collection: Gets the set of margins in the table cell.

rowCount

For EACH ITEM in the collection: Gets the number of table rows this cell spans across. Will be greater than or equal to 1.

rowIndex

For EACH ITEM in the collection: Gets the zero-based row index of the cell within the table.

text

For EACH ITEM in the collection: Specifies the text content of the table cell.

textRuns

For EACH ITEM in the collection: Specifies the contents of the table cell as an array of objects. Each TextRun object represents a sequence of one or more characters that share the same font attributes.

verticalAlignment

For EACH ITEM in the collection: Specifies the vertical alignment of the text in the table cell.

Property Details

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

$all?: boolean;

Property Value

boolean

borders

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

For EACH ITEM in the collection: Gets the collection of borders for the table cell.

borders?: PowerPoint.Interfaces.BordersLoadOptions;

Property Value

Remarks

[ API set: PowerPointApi BETA (PREVIEW ONLY) ]

columnCount

For EACH ITEM in the collection: Gets the number of table columns this cell spans across. Will be greater than or equal to 1.

columnCount?: boolean;

Property Value

boolean

Remarks

[ API set: PowerPointApi 1.8 ]

columnIndex

For EACH ITEM in the collection: Gets the zero-based column index of the cell within the table.

columnIndex?: boolean;

Property Value

boolean

Remarks

[ API set: PowerPointApi 1.8 ]

fill

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

For EACH ITEM in the collection: Gets the fill color of the table cell.

fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;

Property Value

Remarks

[ API set: PowerPointApi BETA (PREVIEW ONLY) ]

font

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

For EACH ITEM in the collection: Gets the font of the table cell.

font?: PowerPoint.Interfaces.ShapeFontLoadOptions;

Property Value

Remarks

[ API set: PowerPointApi BETA (PREVIEW ONLY) ]

horizontalAlignment

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

For EACH ITEM in the collection: Specifies the horizontal alignment of the text in the table cell.

horizontalAlignment?: boolean;

Property Value

boolean

Remarks

[ API set: PowerPointApi BETA (PREVIEW ONLY) ]

indentLevel

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

For EACH ITEM in the collection: Specifies the indent level of the text in the table cell.

indentLevel?: boolean;

Property Value

boolean

Remarks

[ API set: PowerPointApi BETA (PREVIEW ONLY) ]

margins

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

For EACH ITEM in the collection: Gets the set of margins in the table cell.

margins?: PowerPoint.Interfaces.MarginsLoadOptions;

Property Value

Remarks

[ API set: PowerPointApi BETA (PREVIEW ONLY) ]

rowCount

For EACH ITEM in the collection: Gets the number of table rows this cell spans across. Will be greater than or equal to 1.

rowCount?: boolean;

Property Value

boolean

Remarks

[ API set: PowerPointApi 1.8 ]

rowIndex

For EACH ITEM in the collection: Gets the zero-based row index of the cell within the table.

rowIndex?: boolean;

Property Value

boolean

Remarks

[ API set: PowerPointApi 1.8 ]

text

For EACH ITEM in the collection: Specifies the text content of the table cell.

text?: boolean;

Property Value

boolean

Remarks

[ API set: PowerPointApi 1.8 ]

textRuns

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

For EACH ITEM in the collection: Specifies the contents of the table cell as an array of objects. Each TextRun object represents a sequence of one or more characters that share the same font attributes.

textRuns?: boolean;

Property Value

boolean

Remarks

[ API set: PowerPointApi BETA (PREVIEW ONLY) ]

verticalAlignment

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

For EACH ITEM in the collection: Specifies the vertical alignment of the text in the table cell.

verticalAlignment?: boolean;

Property Value

boolean

Remarks

[ API set: PowerPointApi BETA (PREVIEW ONLY) ]