Word.Interfaces.TableRowCollectionLoadOptions interface
包含文档的 Word 集合。TableRow 对象。
属性
| $all | 指定加载选项将 |
| cell |
For EACH ITEM in the collection: 获取行中的单元格数。 |
| font | 对于集合中的每个项: 获取字体。 使用此对象获取和设置字体名称、大小、颜色和其他属性。 |
| horizontal |
对于集合中的每个项: 指定行中每个单元格的水平对齐方式。 值可以是 |
| is |
For EACH ITEM in the collection:检查该行是否为标题行。 若要设置标题行数,请在对象上 |
| parent |
对于集合中的每个项目: 获取父表。 |
| preferred |
对于集合中的每个项目: 指定行的首选高度(以磅为单位)。 |
| range | 对于集合中的每个项:返回 |
| row |
对于集合中的每个项目: 获取其父表中行的索引。 |
| shading | For EACH ITEM in the collection: 返回 |
| shading |
对于集合中的每个项目: 指定底纹颜色。 按“#RRGGBB”格式或使用颜色名称指定颜色。 |
| values | 对于集合中的每个项: 将行中的文本值指定为 2D JavaScript 数组。 |
| vertical |
对于集合中的每个项: 指定行中单元格的垂直对齐方式。 值可以是 |
属性详细信息
$all
指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。
$all?: boolean;
属性值
boolean
cellCount
font
对于集合中的每个项: 获取字体。 使用此对象获取和设置字体名称、大小、颜色和其他属性。
font?: Word.Interfaces.FontLoadOptions;
属性值
注解
horizontalAlignment
对于集合中的每个项: 指定行中每个单元格的水平对齐方式。 值可以是 left、centered 、right 或 。justified
horizontalAlignment?: boolean;
属性值
boolean
注解
isHeader
For EACH ITEM in the collection:检查该行是否为标题行。 若要设置标题行数,请在对象上Table使用headerRowCount。
isHeader?: boolean;
属性值
boolean
注解
parentTable
对于集合中的每个项目: 获取父表。
parentTable?: Word.Interfaces.TableLoadOptions;
属性值
注解
preferredHeight
range
对于集合中的每个项:返回 Range 表示表行的对象。
range?: Word.Interfaces.RangeLoadOptions;
属性值
注解
rowIndex
shading
For EACH ITEM in the collection: 返回 ShadingUniversal 表示表行底纹的对象。
shading?: Word.Interfaces.ShadingUniversalLoadOptions;
属性值
注解
shadingColor
对于集合中的每个项目: 指定底纹颜色。 按“#RRGGBB”格式或使用颜色名称指定颜色。
shadingColor?: boolean;
属性值
boolean
注解
values
verticalAlignment
对于集合中的每个项: 指定行中单元格的垂直对齐方式。 值可以是 top、 center或 bottom。
verticalAlignment?: boolean;
属性值
boolean