PowerPoint.Interfaces.TableCellLoadOptions interface

表示一个表。

属性

$all

指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。

borders

获取表格单元格的边框集合。

columnCount

获取此单元格跨越的表列数。 将大于或等于 1。

columnIndex

获取表中单元格的从零开始的列索引。

fill

获取表格单元格的填充颜色。

font

获取表格单元格的字体。

horizontalAlignment

指定表格单元格中文本的水平对齐方式。 如果单元格文本包含不同的对齐方式,则返回 null

indentLevel

指定表格单元格中文本的缩进级别。 单元格文本包含不同的缩进级别时返回 null

margins

获取表单元格中的边距集。

rowCount

获取此单元格跨越的表行数。 将大于或等于 1。

rowIndex

获取表中单元格的从零开始的行索引。

text

指定表单元格的文本内容。

textRuns

将表格单元格的内容指定为 PowerPoint.TextRun 对象的数组。 每个 TextRun 对象表示一个或多个具有相同字体属性的字符序列。

verticalAlignment

指定表格单元格中文本的垂直对齐方式。

属性详细信息

$all

指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。

$all?: boolean;

属性值

boolean

borders

获取表格单元格的边框集合。

borders?: PowerPoint.Interfaces.BordersLoadOptions;

属性值

注解

API 集:PowerPointApi 1.9

columnCount

获取此单元格跨越的表列数。 将大于或等于 1。

columnCount?: boolean;

属性值

boolean

注解

API 集:PowerPointApi 1.8

columnIndex

获取表中单元格的从零开始的列索引。

columnIndex?: boolean;

属性值

boolean

注解

API 集:PowerPointApi 1.8

fill

获取表格单元格的填充颜色。

fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;

属性值

注解

API 集:PowerPointApi 1.9

font

获取表格单元格的字体。

font?: PowerPoint.Interfaces.ShapeFontLoadOptions;

属性值

注解

API 集:PowerPointApi 1.9

horizontalAlignment

指定表格单元格中文本的水平对齐方式。 如果单元格文本包含不同的对齐方式,则返回 null

horizontalAlignment?: boolean;

属性值

boolean

注解

API 集:PowerPointApi 1.9

indentLevel

指定表格单元格中文本的缩进级别。 单元格文本包含不同的缩进级别时返回 null

indentLevel?: boolean;

属性值

boolean

注解

API 集:PowerPointApi 1.9

margins

获取表单元格中的边距集。

margins?: PowerPoint.Interfaces.MarginsLoadOptions;

属性值

注解

API 集:PowerPointApi 1.9

rowCount

获取此单元格跨越的表行数。 将大于或等于 1。

rowCount?: boolean;

属性值

boolean

注解

API 集:PowerPointApi 1.8

rowIndex

获取表中单元格的从零开始的行索引。

rowIndex?: boolean;

属性值

boolean

注解

API 集:PowerPointApi 1.8

text

指定表单元格的文本内容。

text?: boolean;

属性值

boolean

注解

API 集:PowerPointApi 1.8

textRuns

将表格单元格的内容指定为 PowerPoint.TextRun 对象的数组。 每个 TextRun 对象表示一个或多个具有相同字体属性的字符序列。

textRuns?: boolean;

属性值

boolean

注解

API 集:PowerPointApi 1.9

verticalAlignment

指定表格单元格中文本的垂直对齐方式。

verticalAlignment?: boolean;

属性值

boolean

注解

API 集:PowerPointApi 1.9